9 #include <condition_variable>
13 struct aws_http_connection_manager;
27 std::function<void(std::shared_ptr<HttpClientConnection>,
int errorCode)>;
74 :
public std::enable_shared_from_this<HttpClientConnectionManager>
98 std::future<void> InitiateShutdown() noexcept;
107 static std::shared_ptr<HttpClientConnectionManager> NewClientConnectionManager(
118 aws_http_connection_manager *m_connectionManager;
121 std::promise<void> m_shutdownPromise;
122 std::atomic<bool> m_releaseInvoked;
124 static void s_onConnectionSetup(
125 aws_http_connection *connection,
127 void *userData) noexcept;
129 static void s_shutdownCompleted(
void *userData) noexcept;
Definition: HttpConnectionManager.h:73
HttpClientConnectionOptions ConnectionOptions
Definition: HttpConnectionManager.h:45
#define AWS_CRT_CPP_API
Definition: Exports.h:36
uint64_t MinThroughputBytesPerSecond
Definition: HttpConnectionManager.h:66
bool EnableBlockingShutdown
Definition: HttpConnectionManager.h:59
aws_allocator Allocator
Definition: Allocator.h:14
Definition: HttpConnectionManager.h:32
std::function< void(std::shared_ptr< HttpClientConnection >, int errorCode)> OnClientConnectionAvailable
Definition: HttpConnectionManager.h:27
Definition: HttpConnectionManager.cpp:188
Definition: HttpConnection.h:441
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition: Allocator.cpp:24
uint32_t AllowableThroughputFailureIntervalSeconds
Definition: HttpConnectionManager.h:67
size_t MaxConnections
Definition: HttpConnectionManager.h:50
Definition: Allocator.h:10