ConnectTarget
ConnectTarget =
object
Defined in: packages/net-core/src/connection.ts:84
What a Connector should connect to.
Properties
Section titled “Properties”alpnProtocols?
Section titled “alpnProtocols?”
readonlyoptionalalpnProtocols?: readonlystring[]
Defined in: packages/net-core/src/connection.ts:96
Application protocols to offer through ALPN, in preference order. Ignored on a cleartext connection.
readonlyhost:string
Defined in: packages/net-core/src/connection.ts:86
Host name or numeric address.
readonlyport:number
Defined in: packages/net-core/src/connection.ts:87
secure
Section titled “secure”
readonlysecure:boolean
Defined in: packages/net-core/src/connection.ts:90
Whether to protect the connection with TLS.