Interface CommonWebSocket
Constructors
constructor
new CommonWebSocket(url: string | URL, protocols?: string | string[]): WebSocket Parameters
- url: string | URL
Optional
protocols: string | string[]
Returns WebSocket
Properties
Readonly
CLOSED
CLOSED: number
Readonly
CLOSING
CLOSING: number
Readonly
CONNECTING
CONNECTING: number