Vinyl
    Preparing search index...

    Interface ResponseInfo

    Serializable response metadata, excluding the body.

    interface ResponseInfo {
        contentLength: null | number;
        ok: boolean;
        redirected: boolean;
        status: number;
        statusText: string;
        type: ResponseType;
        url: string;
    }
    Index

    Properties

    contentLength: null | number

    Size of the response body in bytes, or null if unknown.

    ok: boolean

    True if status is in the 200–299 range.

    redirected: boolean

    True if the response resulted from a redirect.

    status: number

    HTTP status code (e.g. 200).

    statusText: string

    HTTP status text (e.g. "OK").

    type: ResponseType

    Type of response (e.g. "basic", "cors").

    url: string

    Final resolved URL of the response.