W3Booster SDK 2.0.0
    Preparing search index...

    Interface TransportContext

    interface TransportContext {
        applicationRevision?: string;
        clientId: string;
        onError: (error: unknown) => void;
        onMessage: (message: unknown) => void;
        onStatus: (status: ConnectionStatus) => void;
        protocolVersions: readonly string[];
        scopes: Scope[];
        signal: AbortSignal;
    }
    Index
    applicationRevision?: string
    clientId: string
    onError: (error: unknown) => void
    onMessage: (message: unknown) => void
    onStatus: (status: ConnectionStatus) => void
    protocolVersions: readonly string[]
    scopes: Scope[]

    Empty means all scopes configured for this app.

    signal: AbortSignal

    Aborted when the pending connection is cancelled or explicitly disconnected.