Setu-TS
    Preparing search index...

    Interface GraphqlConnectionInfo

    Information about a WebSocket connection used for subscription operations.

    Built from WebSocketConnectionContext and the connection_init payload. Supplied by the WS transport path; absent on the SSE/HTTP paths.

    0.3.0

    interface GraphqlConnectionInfo {
        connectionParams?: Record<string, unknown>;
        data: Map<string, unknown>;
        headers: Headers;
        id: string;
        protocol?: string;
        query: Readonly<Record<string, string>>;
    }
    Index
    connectionParams?: Record<string, unknown>

    The payload sent with connection_init, if any.

    data: Map<string, unknown>

    Per-connection application state.

    headers: Headers

    The upgrade request headers.

    id: string

    Unique connection identifier.

    protocol?: string

    The negotiated subprotocol, when one was selected.

    query: Readonly<Record<string, string>>

    Query string parameters from the upgrade request.