mycocepurus-smithii - v2.0.1
    Preparing search index...

    Interface StoredResponse

    What a Response becomes in the store. Status, headers as pairs, and the body as bytes, so an out-of-process Codec has nothing to guess about. A codec that goes through JSON has to encode body itself; JSON.stringify turns a Uint8Array into an object of indexed numbers.

    interface StoredResponse {
        body: Uint8Array;
        headers: [string, string][];
        status: number;
    }
    Index
    body: Uint8Array
    headers: [string, string][]
    status: number