AWS SDK for C++  1.9.108
AWS SDK for C++
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Aws::Http::IXmlHttpRequest2HttpClient Class Reference

#include <IXmlHttpRequest2HttpClient.h>

+ Inheritance diagram for Aws::Http::IXmlHttpRequest2HttpClient:

Public Member Functions

 IXmlHttpRequest2HttpClient (const Aws::Client::ClientConfiguration &clientConfiguration)
 
virtual ~IXmlHttpRequest2HttpClient ()
 
virtual std::shared_ptr< HttpResponseMakeRequest (const std::shared_ptr< HttpRequest > &request, Aws::Utils::RateLimits::RateLimiterInterface *readLimiter=nullptr, Aws::Utils::RateLimits::RateLimiterInterface *writeLimiter=nullptr) const override
 
virtual bool SupportsChunkedTransferEncoding () const override
 
- Public Member Functions inherited from Aws::Http::HttpClient
 HttpClient ()
 
virtual ~HttpClient ()
 
void DisableRequestProcessing ()
 
void EnableRequestProcessing ()
 
bool IsRequestProcessingEnabled () const
 
void RetryRequestSleep (std::chrono::milliseconds sleepTime)
 
bool ContinueRequest (const Aws::Http::HttpRequest &) const
 

Static Public Member Functions

static void InitCOM ()
 

Protected Member Functions

virtual void OverrideOptionsOnRequestHandle (const HttpRequestComHandle &) const
 

Detailed Description

COM-based http client. To use this client see the CMake option USE_IXML_HTTP_REQUEST_2. Note this client is written for compatibility with windows versions that do not ship with winhttp, and will only work on windows versions > 8.1. WinHttp should still be the default client for windows when possible. This client will run the IXMLHttpRequest2 COM module in CLSCTX_SERVER mode.

Definition at line 29 of file IXmlHttpRequest2HttpClient.h.

Constructor & Destructor Documentation

◆ IXmlHttpRequest2HttpClient()

Aws::Http::IXmlHttpRequest2HttpClient::IXmlHttpRequest2HttpClient ( const Aws::Client::ClientConfiguration clientConfiguration)

Initialize client based on clientConfiguration. This will create a connection pool and configure client wide parameters.

◆ ~IXmlHttpRequest2HttpClient()

virtual Aws::Http::IXmlHttpRequest2HttpClient::~IXmlHttpRequest2HttpClient ( )
virtual

Member Function Documentation

◆ InitCOM()

static void Aws::Http::IXmlHttpRequest2HttpClient::InitCOM ( )
static

You must call this method before making any calls to the constructor, unless you have already called CoInit elsewhere in your system.

◆ MakeRequest()

virtual std::shared_ptr<HttpResponse> Aws::Http::IXmlHttpRequest2HttpClient::MakeRequest ( const std::shared_ptr< HttpRequest > &  request,
Aws::Utils::RateLimits::RateLimiterInterface readLimiter = nullptr,
Aws::Utils::RateLimits::RateLimiterInterface writeLimiter = nullptr 
) const
overridevirtual

Makes http request, returns http response.

Implements Aws::Http::HttpClient.

◆ OverrideOptionsOnRequestHandle()

virtual void Aws::Http::IXmlHttpRequest2HttpClient::OverrideOptionsOnRequestHandle ( const HttpRequestComHandle ) const
inlineprotectedvirtual

Override any configuration on request handle. The usage is override this function in the subclass to configure whatever you want on request handle.

Definition at line 62 of file IXmlHttpRequest2HttpClient.h.

◆ SupportsChunkedTransferEncoding()

virtual bool Aws::Http::IXmlHttpRequest2HttpClient::SupportsChunkedTransferEncoding ( ) const
inlineoverridevirtual

IXMLHTTPRequest2 doesn't support transfer-encoding:chunked

Reimplemented from Aws::Http::HttpClient.

Definition at line 55 of file IXmlHttpRequest2HttpClient.h.


The documentation for this class was generated from the following file: