AWS SDK for C++  1.9.154
AWS SDK for C++
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:

Public Types

using Base = HttpClient

Public Member Functions

 CurlHttpClient (const Aws::Client::ClientConfiguration &clientConfig)
std::shared_ptr< HttpResponseMakeRequest (const std::shared_ptr< HttpRequest > &request, Aws::Utils::RateLimits::RateLimiterInterface *readLimiter=nullptr, Aws::Utils::RateLimits::RateLimiterInterface *writeLimiter=nullptr) const override
- 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

Static Public Member Functions

static void InitGlobalState ()
static void CleanupGlobalState ()

Protected Member Functions

virtual void OverrideOptionsOnConnectionHandle (CURL *) const

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 ( )

◆ InitGlobalState()

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

◆ MakeRequest()

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

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

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 48 of file CurlHttpClient.h.

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