Properties
checkConnectionIntervalId
checkConnectionIntervalId: any
closedByUser
closedByUser: boolean
connectionCallback
connectionCallback: any
connectionParams
connectionParams: () => Promise<unknown>
eventEmitter
eventEmitter: emit = emit
inactivityTimeout
inactivityTimeout: any
inactivityTimeoutId
inactivityTimeoutId: any
maxConnectTimeGenerator
maxConnectTimeGenerator: any
maxConnectTimeoutId
maxConnectTimeoutId: any
nextOperationId
nextOperationId: number
operations
operations: any
reconnecting
reconnecting: boolean
reconnectionAttempts
reconnectionAttempts: any
tryReconnectTimeoutId
tryReconnectTimeoutId: any
unsentMessagesQueue
unsentMessagesQueue: any[]
wasKeepAliveReceived
wasKeepAliveReceived: any
wsImpl
wsImpl: { constructor: any; CLOSED: number; CLOSING: number; CONNECTING: number; OPEN: number; prototype: WebSocket }
Type declaration
-
constructor: function
- new __type(url: string, protocols?: string | string[]): WebSocket
-
Parameters
-
url: string
-
Optional protocols: string | string[]
Returns WebSocket
-
Readonly CLOSED: number
-
Readonly CLOSING: number
-
Readonly CONNECTING: number
-
Readonly OPEN: number
-
prototype: WebSocket