rest-vir - v1.0.0
    Preparing search index...

    Class CommonWebSocketAbstract

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

    Implemented by

    Index

    Constructors

    Properties

    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)

    Methods