• Fetch help method adding an explicit error property when Response is NOK, with the more accurate textual error inside Also measure the rtt of fetching and returns it in the property Response.rtt (guaranteed to be ≥ 1), supports subtracting server processing time using either the Response-Delay or CMSD-rd header when available

    WIP => replace the current implementation to use Resource Timing API

    Parameters

    • input: RequestInfo | URL
    • Optional init: RequestInit

    Returns Promise<Response & {
        error?: string;
        rtt: number;
    }>

Generated using TypeDoc