AWS SDK for C++
AWS SDK for C++
|
Namespaces | |
namespace | HttpMethodMapper |
namespace | SchemeMapper |
namespace | Standard |
Classes | |
class | CurlHandleContainer |
class | CurlHttpClient |
class | HttpClient |
class | HttpClientFactory |
class | HttpRequest |
class | HttpResponse |
class | IXmlHttpRequest2HttpClient |
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 *, 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) |
typedef std::function<bool(const HttpRequest*)> Aws::Http::ContinueRequestHandler |
Closure type for handling whether or not a request should be canceled.
Definition at line 80 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 72 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 76 of file HttpRequest.h.
Definition at line 53 of file HttpTypes.h.
typedef std::pair<Aws::String, Aws::String> Aws::Http::HeaderValuePair |
Definition at line 52 of file HttpTypes.h.
typedef Microsoft::WRL::ComPtr<IXMLHTTPRequest2> Aws::Http::HttpRequestComHandle |
Definition at line 21 of file IXmlHttpRequest2HttpClient.h.
using Aws::Http::PlatformHttpClient = typedef CurlHttpClient |
Definition at line 72 of file CurlHttpClient.h.
|
strong |
Models Http methods.
Enumerator | |
---|---|
HTTP_GET | |
HTTP_POST | |
HTTP_DELETE | |
HTTP_PUT | |
HTTP_HEAD | |
HTTP_PATCH |
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 |
Possible default http factory vended http client implementations.
Enumerator | |
---|---|
DEFAULT_CLIENT | |
CURL_CLIENT | |
WIN_INET_CLIENT | |
WIN_HTTP_CLIENT |
Definition at line 36 of file HttpTypes.h.
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 | ) |
|
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 |