monitor-api - v1.3.0
    Preparing search index...

    Interface NetworkEntry

    Captured metadata for one fetch or XMLHttpRequest request.

    interface NetworkEntry {
        error: string | null;
        id: string;
        initiator: "fetch" | "xhr";
        latency: number;
        method: string;
        payloadSize: number;
        requestSize: number;
        status: number;
        timestamp: number;
        url: string;
    }
    Index

    Properties

    error: string | null

    Error message when the request failed, otherwise null.

    id: string

    Unique entry id generated by the collector.

    initiator: "fetch" | "xhr"

    Browser API used to initiate the request.

    latency: number

    Request latency in milliseconds.

    method: string

    Uppercase HTTP method.

    payloadSize: number

    Known response payload size in bytes, or 0 when unavailable without reading the body.

    requestSize: number

    Request body size in bytes when it can be estimated.

    status: number

    HTTP status code, or 0 when the request failed before receiving a response.

    timestamp: number

    Unix timestamp in milliseconds for when the request was recorded.

    url: string

    Requested URL as seen by fetch or XMLHttpRequest.