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