Skip to content

TcpConnectorOptions

TcpConnectorOptions = object

Defined in: net-transport-node/src/connect-tcp.ts:26

Options for createTcpConnector.

readonly optional noDelay?: boolean

Defined in: net-transport-node/src/connect-tcp.ts:35

Disable Nagle’s algorithm. Defaults to false.


readonly optional tls?: TcpConnectTlsOptions

Defined in: net-transport-node/src/connect-tcp.ts:32

How secure targets are verified — trusted roots (ca), client certificate, minimum version. Defaults to Node’s: the system and bundled roots, and the peer’s name checked against target.host.