AWS SDK for C++  0.14.3
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 (HttpRequest &request, Aws::Utils::RateLimits::RateLimiterInterface *readLimiter=nullptr, Aws::Utils::RateLimits::RateLimiterInterface *writeLimiter=nullptr) const
 
virtual const char * GetLogTag () const
 
- Public Member Functions inherited from Aws::Http::HttpClient
 HttpClient ()
 
virtual ~HttpClient ()
 
void DisableRequestProcessing ()
 
void EnableRequestProcessing ()
 
bool IsRequestProcessingEnabled () const
 
void RetryRequestSleep (std::chrono::milliseconds sleepTime)
 

Protected Member Functions

void SetOpenHandle (void *handle)
 
void * GetOpenHandle () const
 
void SetConnectionPoolManager (WinConnectionPoolMgr *connectionMgr)
 
WinConnectionPoolMgrGetConnectionPoolManager () const
 
void * AllocateWindowsHttpRequest (const Aws::Http::HttpRequest &request, void *connection) const
 

Protected Attributes

bool m_allowRedirects
 

Detailed Description

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

Definition at line 40 of file WinSyncHttpClient.h.

Member Typedef Documentation

Definition at line 43 of file WinSyncHttpClient.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void* Aws::Http::WinSyncHttpClient::AllocateWindowsHttpRequest ( const Aws::Http::HttpRequest request,
void *  connection 
) const
protected

Return call from implementation specific openrequest call.

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

Gets the connection pool manager the client is ussing.

Definition at line 74 of file WinSyncHttpClient.h.

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

Gets log tag for use in logging.

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

Definition at line 57 of file WinSyncHttpClient.h.

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

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

Definition at line 66 of file WinSyncHttpClient.h.

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

Makes request and receives response synchronously

Implements Aws::Http::HttpClient.

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

Sets the connection pool manager for the client to use.

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

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

Member Data Documentation

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

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

Definition at line 82 of file WinSyncHttpClient.h.


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