Connection information for the remote HTTP server
Route information about the target API
Nothing because of HEAD method
contracts/common.md#principled-implementation The overloads narrow arguments by method; the implementation refuses encryption metadata and delegates to FetcherBase.request. Failed statuses become HttpError with their original text, successful HEAD has no data, and binary successes transfer response.body unchanged or create a synchronously closed empty stream if absent. Stream consumption and cancellation belong to the caller.
contracts/common.md#clear-and-simple-design One guard and one delegation, with the overloads only splitting the types.
Fetch function only for GET method.
Connection information for the remote HTTP server
Route information about the target API
Response body data from the remote API
Fetch function for the POST, PUT, PATCH and DELETE methods.
Connection information for the remote HTTP server
Route information about the target API
Optionalinput: InputOptionalstringify: (input: Input) => stringResponse body data from the remote API
Fetch function only for
HEADmethod.