Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

WebSocketFactory

class WebSocketFactory {
static private detectEnvironment;
 
static createWebSocket(url: string | URL, protocols?: string | string[]): WebSocketLike;
static getWebSocketConstructor(): WebSocket;
static isWebSocketSupported(): boolean;
}

§Static Properties

§
detectEnvironment
[src]

§Static Methods

§
createWebSocket(url: string | URL, protocols?: string | string[]): WebSocketLike
[src]
§
getWebSocketConstructor(): WebSocket
[src]
§
isWebSocketSupported(): boolean
[src]