Optional
WebSocket
WebSocket?: (new (url: string | URL, protocols?: string | string[]) => WebSocket)
Type declaration
-
- new (url: string | URL, protocols?: string | string[]): WebSocket
-
Parameters
-
url: string | URL
-
Optional
protocols: string | string[]
Returns WebSocket