Interface: TLSConnectOptions
Extends
Properties
alpn?
optionalalpn:string[]
ALPN protocol list to negotiate.
bindAddr?
optionalbindAddr:object
ip
ip:
string
port
port:
number
Inherited from
ca?
optionalca:string
PEM-encoded CA certificate(s) to trust. Defaults to the embedded Mozilla CA bundle.
cert?
optionalcert:string
PEM-encoded client certificate for mutual TLS.
dnsQueryType?
optionaldnsQueryType:"ipv4"|"ipv6"
Inherited from
ipv6Only?
optionalipv6Only:boolean
Inherited from
keepAliveDelay?
optionalkeepAliveDelay:number
Inherited from
key?
optionalkey:string
PEM-encoded client private key for mutual TLS.
noDelay?
optionalnoDelay:boolean
Inherited from
sni?
optionalsni:string
Server Name Indication hostname. Defaults to the host argument.
verifyPeer?
optionalverifyPeer:boolean
Whether to verify the peer's certificate. Defaults to true for clients, false for servers.