AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Minimal interface for making HTTP PUT requests. More...
#include <HttpPutInterface.h>
Public Member Functions | |
virtual | ~HttpPutInterface ()=default |
Virtual destructor to assure proper cleanup of derived types. More... | |
virtual HTTPResponse | doPut (const std::string &url, const std::vector< std::string > &headers, const std::string &data)=0 |
Minimal interface for making HTTP PUT requests.
|
virtualdefault |
Virtual destructor to assure proper cleanup of derived types.
|
pure virtual |
Perform an HTTP Put request returning the response body as a string. This method blocks for the duration of the request.
url | The URL to send the PUT to. |
headers | vector of strings to add in the header. |
data | The PUT data to send in the request. |
Implemented in alexaClientSDK::avsCommon::utils::libcurlUtils::HttpPut.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0