Skip to content

Interface: WSConnectionOptions ​

Connection options forwarded to the underlying WebSocket implementation. Known cross-runtime options are documented while the index signature keeps runtime-specific ws/agent options available without exposing their types.

Indexable ​

ts
[key: string]: any

Properties ​

PropertyType
agent?unknown
followRedirects?boolean
handshakeTimeout?number
headers?Record<string, string | number | string[] | undefined>
maxPayload?number
origin?string
perMessageDeflate?boolean | object
protocols?string | string[]
rejectUnauthorized?boolean

Built by Siebly. Open source SDKs for exchange APIs.