IGPAPI
    Preparing search index...

    Interface RawAnswer

    One server answer as the transport delivered it, before any decoding: the request it answered, its status, headers and body, and the transport's Bloks extract (response.bloks) when the answer carried one.

    Only request and status are enumerable. The headers, the body and the extract are not: an answer can carry the session's secrets (a login's ig-set-authorization header, the session headers a Bloks body embeds), so JSON.stringify of an answer — or of a list of them — never writes them. They are read by name.

    interface RawAnswer {
        bloks?: Buffer<ArrayBufferLike>;
        body: Buffer;
        headers: Readonly<Record<string, string | ReadonlyArray<string>>>;
        request: RawAnswerRequest;
        status: number;
    }
    Index

    Properties

    bloks?: Buffer<ArrayBufferLike>
    body: Buffer
    headers: Readonly<Record<string, string | ReadonlyArray<string>>>
    status: number