AWS SDK for C++  1.9.153
AWS SDK for C++
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Aws::Http::WinSyncHttpClient Class Referenceabstract

#include <WinSyncHttpClient.h>

+ Inheritance diagram for Aws::Http::WinSyncHttpClient:

Public Types

using Base = HttpClient
 

Public Member Functions

virtual ~WinSyncHttpClient ()
 
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 const char * GetLogTag () const
 
- Public Member Functions inherited from Aws::Http::HttpClient
 HttpClient ()
 
virtual ~HttpClient ()
 
virtual bool SupportsChunkedTransferEncoding () const
 
void DisableRequestProcessing ()
 
void EnableRequestProcessing ()
 
bool IsRequestProcessingEnabled () const
 
void RetryRequestSleep (std::chrono::milliseconds sleepTime)
 
bool ContinueRequest (const Aws::Http::HttpRequest &) const
 

Protected Member Functions

void SetOpenHandle (void *handle)
 
void * GetOpenHandle () const
 
void SetConnectionPoolManager (WinConnectionPoolMgr *connectionMgr)
 
WinConnectionPoolMgrGetConnectionPoolManager () const
 
void * AllocateWindowsHttpRequest (const std::shared_ptr< Aws::Http::HttpRequest > &request, void *connection) const
 
virtual void OverrideOptionsOnConnectionHandle (void *) const
 
virtual void OverrideOptionsOnRequestHandle (void *) const
 

Protected Attributes

bool m_allowRedirects
 

Detailed Description

Base implementation of a windows http client - used by WinInetSyncHttpClient and WinHttpSyncHttpClient

Definition at line 31 of file WinSyncHttpClient.h.

Member Typedef Documentation

◆ Base

Definition at line 34 of file WinSyncHttpClient.h.

Constructor & Destructor Documentation

◆ ~WinSyncHttpClient()

virtual Aws::Http::WinSyncHttpClient::~WinSyncHttpClient ( )
virtual

Member Function Documentation

◆ AllocateWindowsHttpRequest()

void* Aws::Http::WinSyncHttpClient::AllocateWindowsHttpRequest ( const std::shared_ptr< Aws::Http::HttpRequest > &  request,
void *  connection 
) const
protected

Return call from implementation specific openrequest call.

◆ GetConnectionPoolManager()

WinConnectionPoolMgr* Aws::Http::WinSyncHttpClient::GetConnectionPoolManager ( ) const
inlineprotected

Gets the connection pool manager the client is ussing.

Definition at line 65 of file WinSyncHttpClient.h.

◆ GetLogTag()

virtual const char* Aws::Http::WinSyncHttpClient::GetLogTag ( ) const
inlinevirtual

Gets log tag for use in logging.

Reimplemented in Aws::Http::WinINetSyncHttpClient, and Aws::Http::WinHttpSyncHttpClient.

Definition at line 48 of file WinSyncHttpClient.h.

◆ GetOpenHandle()

void* Aws::Http::WinSyncHttpClient::GetOpenHandle ( ) const
inlineprotected

Gets the instance wide win handle for the module open calls.

Definition at line 57 of file WinSyncHttpClient.h.

◆ MakeRequest()

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

Makes request and receives response synchronously

Implements Aws::Http::HttpClient.

◆ OverrideOptionsOnConnectionHandle()

virtual void Aws::Http::WinSyncHttpClient::OverrideOptionsOnConnectionHandle ( void *  ) const
inlineprotectedvirtual

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

Definition at line 74 of file WinSyncHttpClient.h.

◆ OverrideOptionsOnRequestHandle()

virtual void Aws::Http::WinSyncHttpClient::OverrideOptionsOnRequestHandle ( void *  ) 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 79 of file WinSyncHttpClient.h.

◆ SetConnectionPoolManager()

void Aws::Http::WinSyncHttpClient::SetConnectionPoolManager ( WinConnectionPoolMgr connectionMgr)
protected

Sets the connection pool manager for the client to use.

◆ SetOpenHandle()

void Aws::Http::WinSyncHttpClient::SetOpenHandle ( void *  handle)
protected

Sets the instance wide win handle for the module open calls.

Member Data Documentation

◆ m_allowRedirects

bool Aws::Http::WinSyncHttpClient::m_allowRedirects
protected

config flag for whether or not to tell apis to allow redirects.

Definition at line 83 of file WinSyncHttpClient.h.


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