Function fetch

  • Send a HTTP(s) request

    Returns

    A promise that resolves to Response object.

    Parameters

    • url: string

      URL string

    • Optional init: RequestInit

      A structured value that contains settings for the fetch() request.

    Returns Promise<Response>

  • Send a HTTP(s) request

    Returns

    A promise that resolves to Response object.

    Parameters

    • request: Request

      Request object

    • Optional init: RequestInit

      A structured value that contains settings for the fetch() request.

    Returns Promise<Response>

  • Send a HTTP(s) request

    Returns

    A promise that resolves to Response object.

    Parameters

    • url: string

      URL string

    • Optional init: RequestInit

      A structured value that contains settings for the fetch() request.

    Returns Promise<Response>

  • Send a HTTP(s) request

    Returns

    A promise that resolves to Response object.

    Parameters

    • request: Request

      Request object

    • Optional init: RequestInit

      A structured value that contains settings for the fetch() request.

    Returns Promise<Response>

Generated using TypeDoc