![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <HTTP2MimeRequestSourceInterface.h>
Public Member Functions | |
virtual | ~HTTP2MimeRequestSourceInterface ()=default |
virtual std::vector< std::string > | getRequestHeaderLines ()=0 |
virtual HTTP2GetMimeHeadersResult | getMimePartHeaderLines ()=0 |
virtual HTTP2SendDataResult | onSendMimePartData (char *bytes, size_t size)=0 |
Interface for providing data to be sent as part of a Mime encoded HTTP2 request.
|
virtualdefault |
Default destructor.
|
pure virtual |
Get the header lines that should be output with the next mime part. This will be called once before onSendMimePartData()
is called for the first mime part and after each call to onSendMimePartData()
that returns HTTP2SendDataResult.status
== COMPLETE.
HTTP2GetMimeHeadersResult
specifying the status of the operation and a vector of header lines if the status was CONTINUE. Implemented in alexaClientSDK::acl::MessageRequestHandler, and alexaClientSDK::avsCommon::utils::http2::MockHTTP2MimeRequestEncodeSource.
|
pure virtual |
Get the header lines that should be output with this HTTP2 request.
Implemented in alexaClientSDK::acl::MessageRequestHandler, and alexaClientSDK::avsCommon::utils::http2::MockHTTP2MimeRequestEncodeSource.
|
pure virtual |
Notification to copy data to be mime encoded in to an HTTP2 request.
bytes | The buffer to receive the bytes to send. |
size | The max number of bytes to copy. |
Implemented in alexaClientSDK::acl::MessageRequestHandler, and alexaClientSDK::avsCommon::utils::http2::MockHTTP2MimeRequestEncodeSource.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0