(data)
return json.loads(request_body)
Constructs the requestEnvelope

    :param data: Incoming data on the socket connection captured in the
                 form of a list
    :type skill_entry_file: List[str]
    :return: Request body as a dictionary
    :rtype: Dict[str, str]
Constructs the requestEnvelope
Constructs the requestEnvelope
def _get_request_envelope(data):
    # type: (List[AnyStr]) -> Dict[str, str]
    """
    Constructs the requestEnvelope

    :param data: Incoming data on the socket connection captured in the
                 form of a list
    :type skill_entry_file: List[str]
    :return: Request body as a dictionary
    :rtype: Dict[str, str]
    """
    request_body = _combine_received_data(data).decode('utf-8')
    print('Request envelope: {0}'.format(request_body))
    return json.loads(request_body)
def _get_request_envelope ( data ) : # type: (List[AnyStr]) -> Dict[str, str] request_body = _combine_received_data ( data ) . decode ( 'utf-8' ) print ( 'Request envelope: {0}' . format ( request_body ) ) return json . loads ( request_body )