AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <ExchangeHandler.h>
Public Member Functions | |
ExchangeHandler (std::shared_ptr< ExchangeHandlerContextInterface > context, const std::string &authToken) | |
virtual | ~ExchangeHandler ()=default |
Protected Attributes | |
std::shared_ptr< ExchangeHandlerContextInterface > | m_context |
The HTTP2Transport instance for which this exchange is to be performed. More... | |
const std::string | m_authToken |
The auth token used to make the request. More... | |
const std::string | m_authHeader |
The AVS authorization header to send in the request. More... | |
Common base class for HTTP2 request / response exchanges with AVS.
alexaClientSDK::acl::ExchangeHandler::ExchangeHandler | ( | std::shared_ptr< ExchangeHandlerContextInterface > | context, |
const std::string & | authToken | ||
) |
Constructor.
context | The context in which this HTTP2 request / reply exchange will be performed. |
authToken | The authorization token to send in the request. |
|
virtualdefault |
Destructor
|
protected |
The AVS authorization header to send in the request.
|
protected |
The auth token used to make the request.
|
protected |
The HTTP2Transport
instance for which this exchange is to be performed.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0