aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <HttpConnectionManager.h>
Public Member Functions | |
HttpClientConnectionManagerOptions () noexcept | |
HttpClientConnectionManagerOptions (const HttpClientConnectionManagerOptions &rhs)=default | |
HttpClientConnectionManagerOptions (HttpClientConnectionManagerOptions &&rhs)=default | |
HttpClientConnectionManagerOptions & | operator= (const HttpClientConnectionManagerOptions &rhs)=default |
HttpClientConnectionManagerOptions & | operator= (HttpClientConnectionManagerOptions &&rhs)=default |
Public Attributes | |
HttpClientConnectionOptions | ConnectionOptions |
size_t | MaxConnections |
bool | EnableBlockingShutdown |
Configuration struct containing all options related to connection manager behavior
|
noexcept |
|
default |
|
default |
|
default |
|
default |
HttpClientConnectionOptions Aws::Crt::Http::HttpClientConnectionManagerOptions::ConnectionOptions |
The http connection options to use for each connection created by the manager
bool Aws::Crt::Http::HttpClientConnectionManagerOptions::EnableBlockingShutdown |
If set, initiate shutdown will return a future that will allow a user to block until the connection manager has completely released all resources. This isn't necessary during the normal flow of an application, but it is useful for scenarios, such as tests, that need deterministic shutdown ordering. Be aware, if you use this anywhere other than the main thread, you will most likely cause a deadlock. If this is set, you MUST call InitiateShutdown() before releasing your last reference to the connection manager.
size_t Aws::Crt::Http::HttpClientConnectionManagerOptions::MaxConnections |
The maximum number of connections the manager is allowed to create/manage