Constructors
Properties
Optional
sessionId
sessionId?: string
Accessors
backoff
- get backoff(): Backoff
Returns Backoff
- set backoff(b): void
Returns void
Methods
close
- close(code?, data?): Promise<void>
Parameters
Optional
code: numberOptional
data: string
Returns Promise<void>
connect
- connect(): void
Returns void
Class representing a WebSocket connection.