![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <HTTPResponse.h>
Public Member Functions | |
HTTPResponse () | |
HTTPResponse (long pCode, const std::string &pBody) | |
std::string | serialize () |
Serialize the object. More... | |
Public Attributes | |
long | code |
The HTTP status code returned by the server. More... | |
std::string | body |
The body of the response returned by the server. More... | |
Structure used to capture the values resulting from an HTTP request.
alexaClientSDK::avsCommon::utils::libcurlUtils::HTTPResponse::HTTPResponse | ( | ) |
Default constructor.
alexaClientSDK::avsCommon::utils::libcurlUtils::HTTPResponse::HTTPResponse | ( | long | pCode, |
const std::string & | pBody | ||
) |
Constructor with params.
pCode | The status code. |
pBody | The response body. |
std::string alexaClientSDK::avsCommon::utils::libcurlUtils::HTTPResponse::serialize | ( | ) |
Serialize the object.
std::string alexaClientSDK::avsCommon::utils::libcurlUtils::HTTPResponse::body |
The body of the response returned by the server.
long alexaClientSDK::avsCommon::utils::libcurlUtils::HTTPResponse::code |
The HTTP status code returned by the server.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0