Interface TcpConnectOptions

Hierarchy

  • TcpConnectOptions

Properties

Properties

family?: "ipv4" | "ipv6"

Address family. Omit to determine based on the host specified.

host?: string

Host or IP address to connect to. Defaults to localhost.

port: number

IP port to connect to.

tls?: boolean

Whether to create a TLS connection. Defaults to false.

Generated using TypeDoc