yaschema-ws-api-client
    Preparing search index...

    Interface CommonWebSocket

    interface CommonWebSocket {
        new CommonWebSocket(
            url: string | URL,
            protocols?: string | string[],
        ): WebSocket;
        CLOSED: number;
        CLOSING: number;
        CONNECTING: number;
        OPEN: number;
    }
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • url: string | URL
      • Optionalprotocols: string | string[]

      Returns WebSocket

    Properties

    CLOSED: number
    CLOSING: number
    CONNECTING: number
    OPEN: number