AWS SDK for C++

AWS SDK for C++ Version 1.11.616

Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Aws::Http::HttpClient Class Referenceabstract

#include <HttpClient.h>

Inheritance diagram for Aws::Http::HttpClient:
[legend]

Public Member Functions

 
virtual ~HttpClient ()
 
virtual std::shared_ptr< HttpResponseMakeRequest (const std::shared_ptr< HttpRequest > &request, Aws::Utils::RateLimits::RateLimiterInterface *readLimiter=nullptr, Aws::Utils::RateLimits::RateLimiterInterface *writeLimiter=nullptr) const =0
 
virtual bool SupportsChunkedTransferEncoding () const
 
 
 
 
void RetryRequestSleep (std::chrono::milliseconds sleepTime)
 
 
 operator bool () const
 

Protected Attributes

bool m_bad
 

Detailed Description

Abstract HttpClient. All it does is make HttpRequests and return their response.

Definition at line 33 of file HttpClient.h.

Constructor & Destructor Documentation

◆ HttpClient()

Aws::Http::HttpClient::HttpClient ( )

◆ ~HttpClient()

virtual Aws::Http::HttpClient::~HttpClient ( )
inlinevirtual

Definition at line 37 of file HttpClient.h.

Member Function Documentation

◆ ContinueRequest()

bool Aws::Http::HttpClient::ContinueRequest ( const Aws::Http::HttpRequest ) const

◆ DisableRequestProcessing()

void Aws::Http::HttpClient::DisableRequestProcessing ( )

Stops all requests in progress and prevents any others from initiating.

◆ EnableRequestProcessing()

void Aws::Http::HttpClient::EnableRequestProcessing ( )

Enables/ReEnables request processing.

◆ IsRequestProcessingEnabled()

bool Aws::Http::HttpClient::IsRequestProcessingEnabled ( ) const

Returns true if request processing is enabled.

◆ MakeRequest()

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

Takes an http request, makes it, and returns the newly allocated HttpResponse.

Implemented in Aws::Http::CRTHttpClient, Aws::Http::CurlHttpClient, Aws::Http::IXmlHttpRequest2HttpClient, and Aws::Http::WinSyncHttpClient.

◆ operator bool()

Aws::Http::HttpClient::operator bool ( ) const
inlineexplicit

Definition at line 70 of file HttpClient.h.

◆ RetryRequestSleep()

void Aws::Http::HttpClient::RetryRequestSleep ( std::chrono::milliseconds  sleepTime)

Sleeps current thread for sleepTime.

◆ SupportsChunkedTransferEncoding()

virtual bool Aws::Http::HttpClient::SupportsChunkedTransferEncoding ( ) const
inlinevirtual

If yes, the http client supports transfer-encoding:chunked.

Reimplemented in Aws::Http::IXmlHttpRequest2HttpClient.

Definition at line 49 of file HttpClient.h.

Member Data Documentation

◆ m_bad

bool Aws::Http::HttpClient::m_bad
protected

Definition at line 76 of file HttpClient.h.


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