AWS SDK for C++  1.9.108
AWS SDK for C++
Public Member Functions | List of all members
Aws::Http::WinHttpConnectionPoolMgr Class Reference

#include <WinHttpConnectionPoolMgr.h>

+ Inheritance diagram for Aws::Http::WinHttpConnectionPoolMgr:

Public Member Functions

 WinHttpConnectionPoolMgr (void *iOpenHandle, unsigned maxConnectionsPerHost, long requestTimeout, long connectTimeout)
 
 WinHttpConnectionPoolMgr (void *iOpenHandle, unsigned maxConnectionsPerHost, long requestTimeout, long connectTimeout, bool enableTcpKeepAlive, unsigned long tcpKeepAliveInterval)
 
virtual ~WinHttpConnectionPoolMgr ()
 
const char * GetLogTag () const
 
- Public Member Functions inherited from Aws::Http::WinConnectionPoolMgr
 WinConnectionPoolMgr (void *iOpenHandle, unsigned maxConnectionsPerHost, long requestTimeout, long connectTimeout)
 
 WinConnectionPoolMgr (void *iOpenHandle, unsigned maxConnectionsPerHost, long requestTimeout, long connectTimeout, bool enableTcpKeepAlive, unsigned long tcpKeepAliveIntervalMs)
 
virtual ~WinConnectionPoolMgr ()
 
void * AcquireConnectionForHost (const Aws::String &host, uint16_t port)
 
void ReleaseConnectionForHost (const Aws::String &host, unsigned port, void *connection)
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::Http::WinConnectionPoolMgr
void * GetOpenHandle () const
 
long GetRequestTimeout () const
 
long GetConnectTimeout () const
 
bool GetEnableTcpKeepAlive () const
 
unsigned long GetTcpKeepAliveInterval () const
 
void DoCleanup ()
 

Detailed Description

Connection pool manager for winhttp api. This is the default windows http implementation. It is more efficient and performant than WinINet.

Definition at line 21 of file WinHttpConnectionPoolMgr.h.

Constructor & Destructor Documentation

◆ WinHttpConnectionPoolMgr() [1/2]

Aws::Http::WinHttpConnectionPoolMgr::WinHttpConnectionPoolMgr ( void *  iOpenHandle,
unsigned  maxConnectionsPerHost,
long  requestTimeout,
long  connectTimeout 
)

Initializes the connection pool with the passedin iOpen handle from earlier winHttp init calls. configures connect calls with the timeouts. MaxConnectionsPerHost sets the queue sizes for each endpoint.

◆ WinHttpConnectionPoolMgr() [2/2]

Aws::Http::WinHttpConnectionPoolMgr::WinHttpConnectionPoolMgr ( void *  iOpenHandle,
unsigned  maxConnectionsPerHost,
long  requestTimeout,
long  connectTimeout,
bool  enableTcpKeepAlive,
unsigned long  tcpKeepAliveInterval 
)

◆ ~WinHttpConnectionPoolMgr()

virtual Aws::Http::WinHttpConnectionPoolMgr::~WinHttpConnectionPoolMgr ( )
virtual

Member Function Documentation

◆ GetLogTag()

const char* Aws::Http::WinHttpConnectionPoolMgr::GetLogTag ( ) const
inlinevirtual

Gets the log tag to use for logging in the base class.

Reimplemented from Aws::Http::WinConnectionPoolMgr.

Definition at line 37 of file WinHttpConnectionPoolMgr.h.


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