Function makeNetworkRequest

  • Internal

    Performs the actual network request for a request handler

    Parameters

    • manager: RequestManager

      The manager that holds options and emits informational events

    • routeId: RouteData

      The generalized api route with literal ids for major parameters

    • url: string

      The fully resolved url to make the request to

    • options: RequestInit

      The fetch options needed to make the request

    • requestData: HandlerRequestData

      Extra data from the user's request needed for errors and additional processing

    • retries: number

      The number of retries this request has already attempted (recursion occurs on the handler)

    Returns Promise<ResponseLike>

    The respond from the network or null when the request should be retried

Generated using TypeDoc