AWS SDK for C++

AWS SDK for C++ Version 1.11.793

Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Aws::Http::CurlHttpClient Class Reference

#include <CurlHttpClient.h>

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

Public Types

using Base = HttpClient
 

Public Member Functions

 
std::shared_ptr< HttpResponseMakeRequest (const std::shared_ptr< HttpRequest > &request, Aws::Utils::RateLimits::RateLimiterInterface *readLimiter=nullptr, Aws::Utils::RateLimits::RateLimiterInterface *writeLimiter=nullptr) const override
 
bool IsDefaultAwsHttpClient () const override
 

Public Member Functions inherited from Aws::Http::HttpClient

 
virtual ~HttpClient ()
 
virtual bool SupportsChunkedTransferEncoding () const
 
 
 
 
void RetryRequestSleep (std::chrono::milliseconds sleepTime)
 
 
 operator bool () const
 
virtual Aws::Crt::Optional< Aws::Client::AWSError< Aws::Client::CoreErrors > > AcquireConnection (const std::shared_ptr< HttpRequest > &request, const std::function< void(std::shared_ptr< Aws::Http::Connection >, int)> &onClientConnectionAvailable)
 

Static Public Member Functions

static void InitGlobalState ()
 
static void CleanupGlobalState ()
 

Protected Member Functions

virtual void OverrideOptionsOnConnectionHandle (CURL *) const
 

Additional Inherited Members

Protected Attributes inherited from Aws::Http::HttpClient

bool m_bad
 

Detailed Description

Definition at line 26 of file CurlHttpClient.h.

Member Typedef Documentation

◆ Base

Definition at line 30 of file CurlHttpClient.h.

Constructor & Destructor Documentation

◆ CurlHttpClient()

Aws::Http::CurlHttpClient::CurlHttpClient ( const Aws::Client::ClientConfiguration clientConfig)

Member Function Documentation

◆ CleanupGlobalState()

static void Aws::Http::CurlHttpClient::CleanupGlobalState ( )
static

◆ InitGlobalState()

static void Aws::Http::CurlHttpClient::InitGlobalState ( )
static

◆ IsDefaultAwsHttpClient()

bool Aws::Http::CurlHttpClient::IsDefaultAwsHttpClient ( ) const
inlineoverridevirtual

Returns true if this is a default AWS SDK HTTP client implementation.

Reimplemented from Aws::Http::HttpClient.

Definition at line 40 of file CurlHttpClient.h.

◆ MakeRequest()

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

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

Implements Aws::Http::HttpClient.

◆ OverrideOptionsOnConnectionHandle()

virtual void Aws::Http::CurlHttpClient::OverrideOptionsOnConnectionHandle ( CURL *  ) const
inlineprotectedvirtual

Override any configuration on CURL handle for each request before sending. The usage is to have a subclass of CurlHttpClient and have your own implementation of this function to configure whatever you want on CURL handle.

Definition at line 50 of file CurlHttpClient.h.


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