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