Interface WebSocketConstructor

interface WebSocketConstructor {
    new WebSocketConstructornew (address: string, protocol?: string): WebSocket;
}

Constructors

Constructors

  • Parameters

    • address: string
    • Optionalprotocol: string

    Returns WebSocket