#include <HttpTextRequestParameters.h>
|
| TextParameters (const AZStd::string &URI, Aws::Http::HttpMethod method, const TextCallback &callback, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration()) |
|
| TextParameters (const AZStd::string &URI, Aws::Http::HttpMethod method, const Headers &headers, const TextCallback &callback, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration()) |
|
| TextParameters (const AZStd::string &URI, Aws::Http::HttpMethod method, const Headers &headers, const AZStd::string &body, const TextCallback &callback, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration()) |
|
| 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 |
|
const Aws::Client::ClientConfiguration & | GetClientConfiguration () const |
|
Models the parameters needed to make a HTTP call and then receive the returned TEXT from the web request without parsing it.
◆ TextParameters() [1/3]
HttpRequestor::TextParameters::TextParameters |
( |
const AZStd::string & |
URI, |
|
|
Aws::Http::HttpMethod |
method, |
|
|
const TextCallback & |
callback, |
|
|
const Aws::Client::ClientConfiguration & |
clientConfiguration = Aws::Client::ClientConfiguration() |
|
) |
| |
|
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. |
clientConfiguration | The client configuration to use for the HTTP request. |
◆ TextParameters() [2/3]
HttpRequestor::TextParameters::TextParameters |
( |
const AZStd::string & |
URI, |
|
|
Aws::Http::HttpMethod |
method, |
|
|
const Headers & |
headers, |
|
|
const TextCallback & |
callback, |
|
|
const Aws::Client::ClientConfiguration & |
clientConfiguration = Aws::Client::ClientConfiguration() |
|
) |
| |
|
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. |
clientConfiguration | The client configuration to use for the HTTP request. |
◆ TextParameters() [3/3]
HttpRequestor::TextParameters::TextParameters |
( |
const AZStd::string & |
URI, |
|
|
Aws::Http::HttpMethod |
method, |
|
|
const Headers & |
headers, |
|
|
const AZStd::string & |
body, |
|
|
const TextCallback & |
callback, |
|
|
const Aws::Client::ClientConfiguration & |
clientConfiguration = Aws::Client::ClientConfiguration() |
|
) |
| |
|
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. |
clientConfiguration | The client configuration to use for the HTTP request. |
◆ GetBodyStream()
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.
◆ GetCallback()
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.
◆ GetClientConfiguration()
const Aws::Client::ClientConfiguration& HttpRequestor::TextParameters::GetClientConfiguration |
( |
| ) |
const |
|
inline |
Get the client configuration to use for the HTTP request.
- Returns
- The client configuration to use for the HTTP request.
◆ GetHeaders()
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