AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Protected Attributes | List of all members
alexaClientSDK::acl::ExchangeHandler Class Reference

#include <ExchangeHandler.h>

Inheritance diagram for alexaClientSDK::acl::ExchangeHandler:
Inheritance graph
[legend]

Public Member Functions

 ExchangeHandler (std::shared_ptr< ExchangeHandlerContextInterface > context, const std::string &authToken)
 
virtual ~ExchangeHandler ()=default
 

Protected Attributes

std::shared_ptr< ExchangeHandlerContextInterfacem_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...
 

Detailed Description

Common base class for HTTP2 request / response exchanges with AVS.

Constructor & Destructor Documentation

◆ ExchangeHandler()

alexaClientSDK::acl::ExchangeHandler::ExchangeHandler ( std::shared_ptr< ExchangeHandlerContextInterface context,
const std::string &  authToken 
)

Constructor.

Parameters
contextThe context in which this HTTP2 request / reply exchange will be performed.
authTokenThe authorization token to send in the request.

◆ ~ExchangeHandler()

virtual alexaClientSDK::acl::ExchangeHandler::~ExchangeHandler ( )
virtualdefault

Destructor

Member Data Documentation

◆ m_authHeader

const std::string alexaClientSDK::acl::ExchangeHandler::m_authHeader
protected

The AVS authorization header to send in the request.

◆ m_authToken

const std::string alexaClientSDK::acl::ExchangeHandler::m_authToken
protected

The auth token used to make the request.

◆ m_context

std::shared_ptr<ExchangeHandlerContextInterface> alexaClientSDK::acl::ExchangeHandler::m_context
protected

The HTTP2Transport instance for which this exchange is to be performed.


The documentation for this class was generated from the following file:

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