OptionalmethodOptionalheadersOptionalbodyRequest body, or a factory that returns a fresh body on every attempt (replayable body). A ReadableStream must be supplied via a factory. The factory must return a fresh body each invocation — reusing the same ReadableStream replays an already-consumed (empty) stream.
OptionalpartitionNamed bulkhead partition. Defaults to host (hostname + port when non-default).
OptionalparseSchema parse function. Use withZod() or custom.
OptionalresponseHow the body is read; parse receives the result. Defaults to "json"
when parse is set; with neither, the body is left unread on raw.
The read and parse both run inside the attempt's timeout.
OptionalretryOptionaltimeoutOptionalsignalSignal to cancel the request externally
Default