![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MimeResponseStatusHandlerInterface.h>
Public Member Functions | |
virtual | ~MimeResponseStatusHandlerInterface ()=default |
virtual void | onActivity ()=0 |
virtual bool | onReceiveResponseCode (long responseCode)=0 |
virtual void | onResponseFinished (avsCommon::utils::http2::HTTP2ResponseFinishedStatus status, const std::string &nonMimeBody)=0 |
Handle HTTP response codes and finished notifications for mime encoded responses from AVS.
|
virtualdefault |
Destructor.
|
pure virtual |
Notification of network activity between this client and AVS. (this is used to detect sustained inactivity requiring the send of a ping).
Implemented in alexaClientSDK::acl::MessageRequestHandler.
|
pure virtual |
Notification that an HTTP response code was returned for the request.
responseCode | The response code received for the request. |
Implemented in alexaClientSDK::acl::MessageRequestHandler.
|
pure virtual |
Notification that the request/response cycle has finished and no further notifications will be provided.
status | The status included in the response. |
nonMimeBody | The body of the reply (for non HTTPResponseCode::SUCCESS_OK responses) |
Implemented in alexaClientSDK::acl::MessageRequestHandler.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0