OptionalbodyOptionalheadersOptionalmaxHard cap on the response body size in bytes; the request aborts if exceeded.
OptionalredirectAlways "manual" from the engine: a transport must not follow redirects. The engine
follows them itself and decides per hop which headers go along (the base URL's
Authorization and every defaultHeaders entry: same origin only). A fetch-based
transport passes it on: fetch(url, { redirect }). One that ignores it sends those
headers to the redirect target before the engine can see the redirect — a documented
limitation the library cannot enforce; the engine only rejects the response afterwards.
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.
The engine aborts it with its timeout error as the reason; a caller may add its own signal
(the MCP server's limiter does), whose abort is no timeout.
OptionaltimeoutPer-request timeout in milliseconds.
Fully-qualified absolute URL.
Optional request body (already serialised).