AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::utils::http2::HTTP2RequestInterface Class Referenceabstract

#include <HTTP2RequestInterface.h>

Inheritance diagram for alexaClientSDK::avsCommon::utils::http2::HTTP2RequestInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~HTTP2RequestInterface ()=default
 
virtual bool cancel ()=0
 
virtual std::string getId () const =0
 

Detailed Description

Interface for making an HTTP2 request.

Constructor & Destructor Documentation

◆ ~HTTP2RequestInterface()

virtual alexaClientSDK::avsCommon::utils::http2::HTTP2RequestInterface::~HTTP2RequestInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ cancel()

virtual bool alexaClientSDK::avsCommon::utils::http2::HTTP2RequestInterface::cancel ( )
pure virtual

Cancel this HTTP2Request.

Returns
Whether cancelling this request was triggered.

Implemented in alexaClientSDK::avsCommon::utils::libcurlUtils::LibcurlHTTP2Request, and alexaClientSDK::acl::transport::test::MockExchangeHandlerContext::HTTP2Request.

◆ getId()

virtual std::string alexaClientSDK::avsCommon::utils::http2::HTTP2RequestInterface::getId ( ) const
pure virtual

Get an integer uniquely identifying this request.

Returns
An integer uniquely identifying this request.

Implemented in alexaClientSDK::avsCommon::utils::libcurlUtils::LibcurlHTTP2Request, and alexaClientSDK::acl::transport::test::MockExchangeHandlerContext::HTTP2Request.


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