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

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::acl
 

Macros

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

Functions

static const std::string alexaClientSDK::acl::TAG ("MimeResponseSink")
 String to identify log entries originating from this file. More...
 
static std::string alexaClientSDK::acl::sanitizeContentId (const std::string &mimeContentId)
 

Variables

static const std::string alexaClientSDK::acl::X_AMZN_REQUESTID_PREFIX = "x-amzn-requestid:"
 The prefix of request IDs passed back in the header of AVS replies. More...
 
static const std::string alexaClientSDK::acl::MIME_CONTENT_TYPE_FIELD_NAME = "Content-Type"
 MIME field name for a part's MIME type. More...
 
static const std::string alexaClientSDK::acl::MIME_CONTENT_ID_FIELD_NAME = "Content-ID"
 MIME field name for a part's reference id. More...
 
static const std::string alexaClientSDK::acl::MIME_JSON_CONTENT_TYPE = "application/json"
 MIME type for JSON payloads. More...
 
static const std::string alexaClientSDK::acl::MIME_OCTET_STREAM_CONTENT_TYPE = "application/octet-stream"
 MIME type for binary streams. More...
 
static const size_t alexaClientSDK::acl::NON_MIME_BODY_MAX_SIZE = 4096
 Maximum size of non-mime body to accumulate. 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
eventThe event 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