AWS SDK for C++AWS SDK for C++ Version 1.11.924 |
Namespaces | |
| namespace | HttpMethodMapper |
| namespace | SchemeMapper |
| namespace | Standard |
Classes | |
| class | ClientStream |
| class | Connection |
| class | CRTHttpClient |
| class | CurlHandleContainer |
| class | CurlHttpClient |
| class | HttpClient |
| class | HttpClientFactory |
| class | HttpRequest |
| class | HttpResponse |
| class | IXmlHttpRequest2HttpClient |
| struct | ServiceSpecificParameters |
| class | URI |
| class | WinConnectionPoolMgr |
| class | WinHttpConnectionPoolMgr |
| class | WinHttpSyncHttpClient |
| class | WinINetConnectionPoolMgr |
| class | WinINetSyncHttpClient |
| class | WinSyncHttpClient |
Typedefs | |
| using | PlatformHttpClient = CurlHttpClient |
| typedef std::function< void(const HttpRequest *, HttpResponse *)> | HeadersReceivedEventHandler |
| typedef std::function< void(const HttpRequest *, HttpResponse *, long long)> | DataReceivedEventHandler |
| typedef std::function< void(const HttpRequest *, long long)> | DataSentEventHandler |
| typedef std::function< bool(const HttpRequest *)> | ContinueRequestHandler |
| typedef std::pair< Aws::String, Aws::String > | HeaderValuePair |
| typedef Aws::Map< Aws::String, Aws::String > | HeaderValueCollection |
| typedef Aws::MultiMap< Aws::String, Aws::String > | QueryStringParameterCollection |
| typedef Microsoft::WRL::ComPtr< IXMLHTTPRequest2 > | HttpRequestComHandle |
Functions | |
| AWS_CORE_API void | SetInitCleanupCurlFlag (bool initCleanupFlag) |
| AWS_CORE_API void | SetInstallSigPipeHandlerFlag (bool installHandler) |
| AWS_CORE_API void | InitHttp () |
| AWS_CORE_API void | CleanupHttp () |
| AWS_CORE_API void | SetHttpClientFactory (const std::shared_ptr< HttpClientFactory > &factory) |
| AWS_CORE_API std::shared_ptr< HttpClient > | CreateHttpClient (const Aws::Client::ClientConfiguration &clientConfiguration) |
| AWS_CORE_API std::shared_ptr< HttpRequest > | CreateHttpRequest (const Aws::String &uri, HttpMethod method, const Aws::IOStreamFactory &streamFactory) |
| AWS_CORE_API std::shared_ptr< HttpRequest > | CreateHttpRequest (const URI &uri, HttpMethod method, const Aws::IOStreamFactory &streamFactory) |
| AWS_CORE_API Aws::OStream & | operator<< (Aws::OStream &oStream, HttpResponseCode code) |
| bool | IsRetryableHttpResponseCode (HttpResponseCode responseCode) |
| AWS_CORE_API void | SetCompliantRfc3986Encoding (bool compliant) |
| AWS_CORE_API void | SetPreservePathSeparators (bool preservePathSeparators) |
Variables | |
| AWS_CORE_API const char | DATE_HEADER [] |
| AWS_CORE_API const char | AWS_DATE_HEADER [] |
| AWS_CORE_API const char | AWS_SECURITY_TOKEN [] |
| AWS_CORE_API const char | ACCEPT_HEADER [] |
| AWS_CORE_API const char | ACCEPT_CHAR_SET_HEADER [] |
| AWS_CORE_API const char | ACCEPT_ENCODING_HEADER [] |
| AWS_CORE_API const char | AUTHORIZATION_HEADER [] |
| AWS_CORE_API const char | AWS_AUTHORIZATION_HEADER [] |
| AWS_CORE_API const char | COOKIE_HEADER [] |
| AWS_CORE_API const char | DECODED_CONTENT_LENGTH_HEADER [] |
| AWS_CORE_API const char | CONTENT_LENGTH_HEADER [] |
| AWS_CORE_API const char | CONTENT_TYPE_HEADER [] |
| AWS_CORE_API const char | CONTENT_ENCODING_HEADER [] |
| AWS_CORE_API const char | TRANSFER_ENCODING_HEADER [] |
| AWS_CORE_API const char | USER_AGENT_HEADER [] |
| AWS_CORE_API const char | VIA_HEADER [] |
| AWS_CORE_API const char | HOST_HEADER [] |
| AWS_CORE_API const char | AMZ_TARGET_HEADER [] |
| AWS_CORE_API const char | X_AMZ_EXPIRES_HEADER [] |
| AWS_CORE_API const char | CONTENT_MD5_HEADER [] |
| AWS_CORE_API const char | API_VERSION_HEADER [] |
| AWS_CORE_API const char | AWS_TRAILER_HEADER [] |
| AWS_CORE_API const char | SDK_INVOCATION_ID_HEADER [] |
| AWS_CORE_API const char | SDK_REQUEST_HEADER [] |
| AWS_CORE_API const char | SMITHY_PROTOCOL_HEADER [] |
| AWS_CORE_API const char | X_AMZN_TRACE_ID_HEADER [] |
| AWS_CORE_API const char | CHUNKED_VALUE [] |
| AWS_CORE_API const char | AWS_CHUNKED_VALUE [] |
| AWS_CORE_API const char | EXPECT_HEADER [] |
| AWS_CORE_API const char | EXPECT_100_CONTINUE_VALUE [] |
| AWS_CORE_API const char | X_AMZN_ERROR_TYPE [] |
| AWS_CORE_API const char | X_AMZN_QUERY_MODE [] |
| AWS_CORE_API const char * | SEPARATOR |
| static const uint16_t | HTTP_DEFAULT_PORT = 80 |
| static const uint16_t | HTTPS_DEFAULT_PORT = 443 |
| bool | s_compliantRfc3986Encoding |
| AWS_CORE_API bool | s_preservePathSeparators |
| typedef std::function<bool(const HttpRequest*)> Aws::Http::ContinueRequestHandler |
Closure type for handling whether or not a request should be canceled.
Definition at line 91 of file HttpRequest.h.
| typedef std::function<void(const HttpRequest*, HttpResponse*, long long)> Aws::Http::DataReceivedEventHandler |
closure type for receiving notifications that data has been received.
Definition at line 83 of file HttpRequest.h.
| typedef std::function<void(const HttpRequest*, long long)> Aws::Http::DataSentEventHandler |
closure type for receiving notifications that data has been sent.
Definition at line 87 of file HttpRequest.h.
| typedef std::function<void(const HttpRequest*, HttpResponse*)> Aws::Http::HeadersReceivedEventHandler |
closure type for receiving notifications that headers have been received.
Definition at line 79 of file HttpRequest.h.
Definition at line 56 of file HttpTypes.h.
| typedef std::pair<Aws::String, Aws::String> Aws::Http::HeaderValuePair |
Definition at line 55 of file HttpTypes.h.
| typedef Microsoft::WRL::ComPtr<IXMLHTTPRequest2> Aws::Http::HttpRequestComHandle |
Definition at line 21 of file IXmlHttpRequest2HttpClient.h.
Definition at line 86 of file CurlHttpClient.h.
|
strong |
Models Http methods.
| Enumerator | |
|---|---|
| HTTP_GET | |
| HTTP_POST | |
| HTTP_DELETE | |
| HTTP_PUT | |
| HTTP_HEAD | |
| HTTP_PATCH | |
| HTTP_CONNECT | |
| HTTP_OPTIONS | |
| HTTP_TRACE | |
Definition at line 23 of file HttpTypes.h.
|
strong |
Enum of Http response Codes. The integer values of the response codes correspond to the values in the RFC.
Definition at line 29 of file HttpResponse.h.
|
strong |
|
strong |
Configuration for a HTTP client, currently used only by libCurl
| Enumerator | |
|---|---|
| LOW_LATENCY | |
| REGULAR | |
Definition at line 43 of file HttpTypes.h.
|
strong |
Possible default http factory vended http client implementations.
| Enumerator | |
|---|---|
| DEFAULT_CLIENT | |
| CURL_CLIENT | |
| WIN_INET_CLIENT | |
| WIN_HTTP_CLIENT | |
Definition at line 38 of file HttpTypes.h.
|
strong |
| AWS_CORE_API void Aws::Http::CleanupHttp | ( | ) |
| AWS_CORE_API std::shared_ptr< HttpClient > Aws::Http::CreateHttpClient | ( | const Aws::Client::ClientConfiguration & | clientConfiguration | ) |
| AWS_CORE_API std::shared_ptr< HttpRequest > Aws::Http::CreateHttpRequest | ( | const Aws::String & | uri, |
| HttpMethod | method, | ||
| const Aws::IOStreamFactory & | streamFactory ) |
| AWS_CORE_API std::shared_ptr< HttpRequest > Aws::Http::CreateHttpRequest | ( | const URI & | uri, |
| HttpMethod | method, | ||
| const Aws::IOStreamFactory & | streamFactory ) |
| AWS_CORE_API void Aws::Http::InitHttp | ( | ) |
|
inline |
Definition at line 113 of file HttpResponse.h.
| AWS_CORE_API Aws::OStream & Aws::Http::operator<< | ( | Aws::OStream & | oStream, |
| HttpResponseCode | code ) |
Overload ostream operator<< for HttpResponseCode enum class for a prettier output such as "200"
| AWS_CORE_API void Aws::Http::SetCompliantRfc3986Encoding | ( | bool | compliant | ) |
| AWS_CORE_API void Aws::Http::SetHttpClientFactory | ( | const std::shared_ptr< HttpClientFactory > & | factory | ) |
| AWS_CORE_API void Aws::Http::SetInitCleanupCurlFlag | ( | bool | initCleanupFlag | ) |
libCurl infects everything with its global state. If it is being used then we automatically initialize and clean it up. If this is a problem for you, set this to false. If you manually initialize libcurl please add the option CURL_GLOBAL_ALL to your init call.
| AWS_CORE_API void Aws::Http::SetInstallSigPipeHandlerFlag | ( | bool | installHandler | ) |
| AWS_CORE_API void Aws::Http::SetPreservePathSeparators | ( | bool | preservePathSeparators | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |