rest-vir - v2.3.5
    Preparing search index...

    Class CommonWebSocketAbstract

    A WebSocket interface that matches both client-side WebSockets and host-side WebSockets.

    @rest-vir/api

    Implemented by

    Index
    readyState: number

    A WebSocket.readyState property that is compatible with the native property (https://developer.mozilla.org/docs/Web/API/WebSocket/readyState) and the ws package's property (https://github.com/websockets/ws/blob/HEAD/doc/ws.md#websocketreadystate)

    send: (data: any) => void

    A WebSocket.send method that is compatible with the native method (https://developer.mozilla.org/docs/Web/API/WebSocket/send) and the ws package's method (https://github.com/websockets/ws/blob/HEAD/doc/ws.md#websocketsenddata-options-callback)