Properties
Optional agent
agent: http.Agent
Optional autoConnect
autoConnect: undefined | false | true
Optional backoff
backoff: undefined | function
Optional cert
cert: CertMeta
Optional ciphers
ciphers: undefined | string
Optional eventTypes
eventTypes: undefined | object
Optional family
family: undefined | number
Optional handshakeTimeout
handshakeTimeout: undefined | number
Optional headers
headers: undefined | object
Optional host
host: undefined | string
Optional key
key: CertMeta
Optional localAddress
localAddress: undefined | string
Optional maxPayload
maxPayload: undefined | number
Optional origin
origin: undefined | string
Optional passphrase
passphrase: undefined | string
Optional perMessageDeflate
perMessageDeflate: boolean | PerMessageDeflateOptions
Optional pfx
pfx: string | Buffer
Optional protocol
protocol: undefined | string
Optional protocolVersion
protocolVersion: undefined | number
Optional rejectUnauthorized
rejectUnauthorized: undefined | false | true
Optional sendTimeout
sendTimeout: undefined | number
RPC Client options
Note - The options inherited from
WebSocket.IClientOptions
are only valid when running in node.js, they have no effect in the browser.