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

WebSocketLikeConstructor

Minimal WebSocket constructor interface that RealtimeClient can work with. Supply a compatible implementation (native WebSocket, ws, etc) when running outside the browser.

interface WebSocketLikeConstructor {
[key: string]: any;
new (address: string | URL, subprotocols?: string | string[] | undefined): WebSocketLike;
}

§Index Signatures

§
[key: string]: any

§Methods

§
new (address: string | URL, subprotocols?: string | string[] | undefined): WebSocketLike
[src]