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

    Type Alias ClientWebSocket<WebSocketToConnect, WebSocketClass>

    ClientWebSocket: OverwriteWebSocketMethods<
        WebSocketClass,
        OnClient,
        WebSocketToConnect,
    >

    A WebSocket instance used only in clients to connect to a host.

    Type Parameters

    • WebSocketToConnect extends
          | Readonly<
              SelectFrom<
                  WebSocketDefinition,
                  {
                      MessageFromClientType: true;
                      MessageFromHostType: true;
                      SearchParamsType: true;
                  },
              >,
          >
          | NoParam = NoParam
    • WebSocketClass extends CommonWebSocket = CommonWebSocket