Setu-TS
    Preparing search index...

    Interface CachedResponsePayload

    Serializable cached response payload stored in the cache backend. Body is base64-encoded when binary so that JSON-safe stores (Redis) can persist it without corruption.

    0.1.0

    interface CachedResponsePayload {
        body: string | null;
        bodyEncoding?: "base64";
        headers: [string, string][];
        status: number;
    }
    Index
    body: string | null

    Body content (decoded string or base64-encoded bytes).

    bodyEncoding?: "base64"

    Present when the body was base64-encoded during storage. The replay helper decodes it back to Uint8Array.

    headers: [string, string][]

    Headers as [name, value] pairs.

    status: number

    HTTP status code.