AWS SDK for C++
0.14.3
AWS SDK for C++
|
#include <HttpClient.h>
Public Member Functions | |
HttpClient () | |
virtual | ~HttpClient () |
virtual std::shared_ptr< HttpResponse > | MakeRequest (HttpRequest &request, Aws::Utils::RateLimits::RateLimiterInterface *readLimiter=nullptr, Aws::Utils::RateLimits::RateLimiterInterface *writeLimiter=nullptr) const =0 |
void | DisableRequestProcessing () |
void | EnableRequestProcessing () |
bool | IsRequestProcessingEnabled () const |
void | RetryRequestSleep (std::chrono::milliseconds sleepTime) |
Abstract HttpClient. All it does is make HttpRequests and return their response.
Definition at line 43 of file HttpClient.h.
Aws::Http::HttpClient::HttpClient | ( | ) |
|
inlinevirtual |
Definition at line 47 of file HttpClient.h.
void Aws::Http::HttpClient::DisableRequestProcessing | ( | ) |
Stops all requests in progress and prevents any others from initiating.
void Aws::Http::HttpClient::EnableRequestProcessing | ( | ) |
Enables/ReEnables request processing.
bool Aws::Http::HttpClient::IsRequestProcessingEnabled | ( | ) | const |
Returns true if request processing is enabled.
|
pure virtual |
Implemented in Aws::Http::WinSyncHttpClient, and Aws::Http::CurlHttpClient.
void Aws::Http::HttpClient::RetryRequestSleep | ( | std::chrono::milliseconds | sleepTime | ) |
Sleeps current thread for sleepTime.