#include <HttpTextRequestParameters.h>
|
| | TextParameters (const AZStd::string &URI, Aws::Http::HttpMethod method, const TextCallback &callback) |
| |
| | TextParameters (const AZStd::string &URI, Aws::Http::HttpMethod method, const Headers &headers, const TextCallback &callback) |
| |
| | TextParameters (const AZStd::string &URI, Aws::Http::HttpMethod method, const Headers &headers, const AZStd::string &body, const TextCallback &callback) |
| |
|
| TextParameters (const TextParameters &)=default |
| |
|
TextParameters & | operator= (const TextParameters &)=default |
| |
|
| TextParameters (TextParameters &&)=default |
| |
|
TextParameters & | operator= (TextParameters &&)=default |
| |
|
const Aws::String & | GetURI () const |
| | Get the URI in string form as an recipient of the HTTP connection.
|
| |
|
Aws::Http::HttpMethod | GetMethod () const |
| | Get the HTTP method configured to use for a request.
|
| |
| const Headers & | GetHeaders () const |
| |
const std::shared_ptr
< std::stringstream > & | GetBodyStream () const |
| |
| const TextCallback & | GetCallback () const |
| |
Models the parameters needed to make a HTTP call and then receive the returned TEXT from the web request without parsing it.
| HttpRequestor::TextParameters::TextParameters |
( |
const AZStd::string & |
URI, |
|
|
Aws::Http::HttpMethod |
method, |
|
|
const TextCallback & |
callback |
|
) |
| |
|
inline |
- Parameters
-
| URI | A universal resource indicator representing an endpoint. |
| method | The HTTP method to configure. |
| callback | The callback method to receive a HTTP call's response. |
| HttpRequestor::TextParameters::TextParameters |
( |
const AZStd::string & |
URI, |
|
|
Aws::Http::HttpMethod |
method, |
|
|
const Headers & |
headers, |
|
|
const TextCallback & |
callback |
|
) |
| |
|
inline |
- Parameters
-
| URI | A universal resource indicator representing an endpoint. |
| method | The HTTP method to configure. |
| headers | A map of header names and values to use. |
| callback | The callback method to receive a HTTP call's response. |
| HttpRequestor::TextParameters::TextParameters |
( |
const AZStd::string & |
URI, |
|
|
Aws::Http::HttpMethod |
method, |
|
|
const Headers & |
headers, |
|
|
const AZStd::string & |
body, |
|
|
const TextCallback & |
callback |
|
) |
| |
|
inline |
- Parameters
-
| URI | A universal resource indicator representing an endpoint. |
| method | The HTTP method to configure. |
| headers | A map of header names and values to use. |
| body | An data to associate with an HTTP call. |
| callback | The callback method to receive a HTTP call's response. |
| const std::shared_ptr<std::stringstream>& HttpRequestor::TextParameters::GetBodyStream |
( |
| ) |
const |
|
inline |
Get an input stream that can be used to send the body of a request.
- Returns
- A string stream representing a request body.
| const TextCallback& HttpRequestor::TextParameters::GetCallback |
( |
| ) |
const |
|
inline |
Get the callback function for processing text returned in an HTTP response. Callback functions are responsible for correctly interpreting the HTTP response code, and should communicate any failures.
- Returns
- The callback function to process endpoint responses with.
| const Headers& HttpRequestor::TextParameters::GetHeaders |
( |
| ) |
const |
|
inline |
Get the list of extra headers to send as part of a request.
- Returns
- A map of header-value pairs.
The documentation for this class was generated from the following file:
- Gems/HttpRequestor/Code/Include/HttpRequestor/HttpTextRequestParameters.h