HttpClientOptions

Options describing how an link will make connections.
Name Type Description

connectTimeout

Number (int)

Set the connect timeout

crlPaths

Array of String

Add a CRL path

crlValues

Array of Buffer

Add a CRL value

defaultHost

String

Set the default host name to be used by this client in requests if none is provided when making the request.

defaultPort

Number (int)

Set the default port to be used by this client in requests if none is provided when making the request.

enabledCipherSuites

Array of String

Add an enabled cipher suite

idleTimeout

Number (int)

Set the idle timeout, in seconds. zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout.

keepAlive

Boolean

Set whether keep alive is enabled on the client

keyStoreOptions

JksOptions

Set the key/cert options in jks format, aka Java keystore.

maxPoolSize

Number (int)

Set the maximum pool size for connections

maxWebsocketFrameSize

Number (int)

Set the max websocket frame size

pemKeyCertOptions

PemKeyCertOptions

Set the key/cert store options in pem format.

pemTrustOptions

PemTrustOptions

Set the trust options in pem format

pfxKeyCertOptions

PfxOptions

Set the key/cert options in pfx format.

pfxTrustOptions

PfxOptions

Set the trust options in pfx format

pipelining

Boolean

Set whether pipe-lining is enabled on the client

protocolVersion

Enum

Set the protocol version.

receiveBufferSize

Number (int)

Set the TCP receive buffer size

reuseAddress

Boolean

Set the value of reuse address

sendBufferSize

Number (int)

Set the TCP send buffer size

soLinger

Number (int)

Set whether SO_linger keep alive is enabled

ssl

Boolean

Set whether SSL/TLS is enabled

tcpKeepAlive

Boolean

Set whether TCP keep alive is enabled

tcpNoDelay

Boolean

Set whether TCP no delay is enabled

trafficClass

Number (int)

Set the value of traffic class

trustAll

Boolean

Set whether all server certificates should be trusted

trustStoreOptions

JksOptions

Set the trust options in jks format, aka Java trustore

tryUseCompression

Boolean

Set whether compression is enabled

usePooledBuffers

Boolean

Set whether Netty pooled buffers are enabled

verifyHost

Boolean

Set whether hostname verification is enabled