Constructor for the HttpClientConnectionManager class. Signature stays in sync with native implementation for compatibility purposes (leads to some useless params)
(native only) leave undefined
endpoint to pool connections for
port to connect to
maximum allowed connection count
(native only) leave as zero
Optional
socket_options: SocketOptions(native only) leave null
Optional
tls_opts: TlsConnectionOptionsif not null TLS will be used, otherwise plain http will be used
Optional
proxy_options: HttpProxyOptionsconfiguration for establishing connections through a proxy
Readonly
bootstrap(native only) leave undefined
Readonly
hostendpoint to pool connections for
Readonly
initial_(native only) leave as zero
Readonly
max_maximum allowed connection count
Readonly
portport to connect to
Optional
Readonly
proxy_configuration for establishing connections through a proxy
Optional
Readonly
socket_(native only) leave null
Optional
Readonly
tls_if not null TLS will be used, otherwise plain http will be used
Vends a connection from the pool
A promise that results in an HttpClientConnection. When done with the connection, return it via release
Returns an unused connection to the pool
The connection to return
Generated using TypeDoc
Creates, manages, and vends connections to a given host/port endpoint