Properties
Private
WebSocket
WebSocket: {
CLOSED: 3;
CLOSING: 2;
CONNECTING: 0;
OPEN: 1;
prototype: WebSocket;
new (url, protocols?): WebSocket;
}
Type declaration
- new (url, protocols?): WebSocket
Parameters
- url: string | URL
Optional
protocols: string | string[]
Returns WebSocket
Readonly
CLOSED: 3
Readonly
CLOSING: 2
Readonly
CONNECTING: 0
Readonly
OPEN: 1
prototype: WebSocket
Private
authToken
authToken: null | string = null
Private
connection
connection: undefined | WebSocket
Private
disconnectCallbacks
Private
noConsole
noConsole: boolean = false
Private
pubsubUrl
pubsubUrl: undefined | string
Private
switchToken
switchToken: null | string = null
Private
waitForConnectionTimeout
waitForConnectionTimeout: undefined | Timeout