AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
LibCurlHttpContentFetcher.cpp File Reference
#include <algorithm>
#include <chrono>
#include <AVSCommon/SDKInterfaces/HTTPContentFetcherInterface.h>
#include <AVSCommon/Utils/HTTP/HttpResponseCode.h>
#include <AVSCommon/Utils/LibcurlUtils/CurlEasyHandleWrapper.h>
#include "AVSCommon/Utils/LibcurlUtils/CurlMultiHandleWrapper.h"
#include <AVSCommon/Utils/LibcurlUtils/LibCurlHttpContentFetcher.h>
#include <AVSCommon/Utils/Memory/Memory.h>
#include <AVSCommon/Utils/SDS/InProcessSDS.h>
Include dependency graph for LibCurlHttpContentFetcher.cpp:

Namespaces

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

Macros

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

Functions

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

Variables

static const std::chrono::milliseconds alexaClientSDK::avsCommon::utils::libcurlUtils::TIMEOUT_FOR_BLOCKING_WRITE = std::chrono::milliseconds(100)
 
static const std::chrono::milliseconds alexaClientSDK::avsCommon::utils::libcurlUtils::WAIT_FOR_ACTIVITY_TIMEOUT {100}
 Timeout for polling loops that check activities running on separate threads. More...
 
static const auto alexaClientSDK::avsCommon::utils::libcurlUtils::TIMEOUT_CONNECTION = std::chrono::seconds(30)
 Timeout for curl connection. More...
 
static const std::chrono::minutes alexaClientSDK::avsCommon::utils::libcurlUtils::MAX_GET_BODY_WAIT {1}
 Timeout to wait for a call to get body after getContent was called. More...
 
static const std::chrono::minutes alexaClientSDK::avsCommon::utils::libcurlUtils::MAX_GET_HEADER_WAIT {5}
 Timeout to wait for get header to complete. 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