websocket-ts
    Preparing search index...

    Interface WebsocketOptions

    Options that can be passed to the Websocket constructor.

    interface WebsocketOptions {
        buffer?: WebsocketBuffer<string | Blob | BufferSource>;
        listeners?: Partial<WebsocketEventListeners>;
        retry?: WebsocketConnectionRetryOptions;
    }
    Index
    buffer?: WebsocketBuffer<string | Blob | BufferSource>

    The Buffer to use.

    listeners?: Partial<WebsocketEventListeners>

    The initial listeners to add to the websocket. Event-types without listeners can be omitted.

    The options for the connection-retry-strategy.