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

    Type Alias RestVirRequestContext

    Context attached to each fastify request object.

    type RestVirRequestContext = {
        context: unknown;
        contextCreated: boolean;
        protocols: string[];
        requestData: unknown;
        searchParams: BaseSearchParams;
    }
    Index
    context: unknown
    contextCreated: boolean

    Set once preHandler has run the API's createHostContext for this request. context itself cannot carry this signal: an API whose context type is undefined produces a context that is indistinguishable from one that was never created, and route handlers must never run in the latter case.

    protocols: string[]
    requestData: unknown
    searchParams: BaseSearchParams