OptionalbodyOptionalheadersOptionalmaxHard cap on the response body size in bytes. The default transport aborts as soon as it is exceeded; the engine checks the body it gets back from any transport.
OptionalsignalAborted when the engine's overall deadline (timeoutMs) passes. A transport should stop
the request then (fetch(url, { signal })); the engine rejects at the deadline either way,
and enforces maxResponseBytes on the body it gets back, so neither limit depends on it.
OptionaltimeoutPer-request timeout in milliseconds. The engine enforces it as an overall deadline
whatever the transport does (see signal); the default transport also applies it
as an idle-socket timeout.
Fully-qualified absolute URL.
Optional request body (already serialised).