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

    Type Alias WebSocketImplementationBase<ThisWebSocket, HostContext, ExtraParams>

    Generic implementation envelope for a single WebSocket. Host and client (mock) reuse this by supplying their own ExtraParams.

    @rest-vir/api

    type WebSocketImplementationBase<
        ThisWebSocket extends
            Readonly<WebSocketDefinition> = WebSocketDefinition,
        HostContext = unknown,
        ExtraParams = unknown,
    > = {
        definition: ThisWebSocket;
        implementation: WebSocketListenerImplementationsBase<
            ThisWebSocket,
            HostContext,
            ExtraParams,
        >;
        isEndpoint: false;
        isWebSocket: true;
        path: ThisWebSocket["path"];
    }

    Type Parameters

    Index
    definition: ThisWebSocket
    isEndpoint: false
    isWebSocket: true
    path: ThisWebSocket["path"]