Creates a new HTTP client.
The base URL of the remote service.
Performs a DELETE request.
Optionalurl: string | URLThe URL of the resource to fetch.
Optionaloptions: RequestInitThe request options.
The server response.
Performs a GET request.
Optionalurl: string | URLThe URL of the resource to fetch.
Optionaloptions: RequestInitThe request options.
The server response.
Performs a PATCH request.
Optionalurl: string | URLThe URL of the resource to fetch.
Optionalbody: unknownThe request body.
Optionaloptions: RequestInitThe request options.
The server response.
Performs a POST request.
Optionalurl: string | URLThe URL of the resource to fetch.
Optionalbody: unknownThe request body.
Optionaloptions: RequestInitThe request options.
The server response.
Performs a PUT request.
Optionalurl: string | URLThe URL of the resource to fetch.
Optionalbody: unknownThe request body.
Optionaloptions: RequestInitThe request options.
The server response.
Performs HTTP requests.