AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
HTTP2MimeResponseDecoder.cpp File Reference
#include <AVSCommon/Utils/Logger/Logger.h>
#include <unordered_set>
#include "AVSCommon/Utils/HTTP/HttpResponseCode.h"
#include "AVSCommon/Utils/HTTP2/HTTP2MimeResponseDecoder.h"
Include dependency graph for HTTP2MimeResponseDecoder.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::avsCommon
 
 alexaClientSDK::avsCommon::utils
 
 alexaClientSDK::avsCommon::utils::http2
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string alexaClientSDK::avsCommon::utils::http2::TAG ("HTTP2MimeResponseDecoder")
 String to identify log entries originating from this file. More...
 

Variables

static const char alexaClientSDK::avsCommon::utils::http2::CARRIAGE_RETURN_ASCII = 13
 ASCII value of CR. More...
 
static const char alexaClientSDK::avsCommon::utils::http2::QUOTES_CHAR = '\"'
 ASCII value of Double Quotes (") More...
 
static const char alexaClientSDK::avsCommon::utils::http2::LINE_FEED_ASCII = 10
 ASCII value of LF. More...
 
static const char alexaClientSDK::avsCommon::utils::http2::CRLF_SEQUENCE [] = {CARRIAGE_RETURN_ASCII, LINE_FEED_ASCII}
 CRLF sequence. More...
 
static const int alexaClientSDK::avsCommon::utils::http2::LEADING_CRLF_CHAR_SIZE = sizeof(CRLF_SEQUENCE) / sizeof(*CRLF_SEQUENCE)
 Size of CLRF in chars. More...
 
static const std::string alexaClientSDK::avsCommon::utils::http2::BOUNDARY_PREFIX = "boundary="
 MIME boundary string prefix in HTTP header. More...
 
static const std::unordered_set< char > alexaClientSDK::avsCommon::utils::http2::BOUNDARY_ALLOWED_NON_ALPHA_CHARS
 Non alpha-numeric chars that are allowed as part of the Boundary as per RFC2046. More...
 
static const size_t alexaClientSDK::avsCommon::utils::http2::BOUNDARY_MAX_LENGTH = 70
 Max length of the boundary as per RFC2046 (inclusive) More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0