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

    Interface ConnectionInfo

    Network quality estimates from the Network Information API (Chromium only).

    interface ConnectionInfo {
        downlink: number | null;
        effectiveType: string | null;
        rtt: number | null;
        saveData: boolean | null;
    }
    Index

    Properties

    downlink: number | null

    Estimated downlink bandwidth in megabits per second, rounded by the browser.

    effectiveType: string | null

    Effective connection type: slow-2g, 2g, 3g, or 4g.

    rtt: number | null

    Estimated round-trip time in milliseconds, rounded by the browser.

    saveData: boolean | null

    Whether the user asked the browser to reduce data usage.