AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
UrlRequester.cpp File Reference
#include "UrlRequester.h"
#include <AVSCommon/Utils/Error/FinallyGuard.h>
#include <AVSCommon/Utils/FileSystem/FileSystemUtils.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/Power/WakeGuard.h>
#include <regex>
#include "acsdkAssetsCommon/AmdMetricWrapper.h"
#include "acsdkAssetsCommon/CurlWrapper.h"
#include "acsdkAssetsCommon/JitterUtil.h"
#include "acsdkAssetsInterfaces/UrlRequest.h"
Include dependency graph for UrlRequester.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::acsdkAssets
 
 alexaClientSDK::acsdkAssets::manager
 

Macros

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

Functions

static string alexaClientSDK::acsdkAssets::manager::getValueFromHeaders (const string &headers, const string &key)
 

Variables

static constexpr auto alexaClientSDK::acsdkAssets::manager::BASE_BACKOFF_VALUE = milliseconds(200)
 
static constexpr auto alexaClientSDK::acsdkAssets::manager::MAX_DOWNLOAD_RETRY = 10
 
static const auto alexaClientSDK::acsdkAssets::manager::s_metrics = AmdMetricsWrapper::creator("urlRequester")
 
static const std::string alexaClientSDK::acsdkAssets::manager::TAG {"UrlRequester"}
 String to identify log entries originating from this file. More...
 
static constexpr size_t alexaClientSDK::acsdkAssets::manager::DEFAULT_EXPECTED_URL_SIZE = 1 * 1024 * 1024
 

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