Expand description
The output of Channel::prepare.
Enums§
- Prepared
Request - The output of
Channel::prepare: either a single direct upstream request (the common case — the pipeline sends it once), or a channel-driven multi-step exchange (CustomSend).
Type Aliases§
- Custom
Send - A channel-driven multi-step upstream exchange. The pipeline injects the
resolved
(proxy, emulation)client; the closure performs whatever sequence of calls it needs and returns the finished, buffered response. The closure owns whatever else it needs (secret, inbound body) bymove. Each call made through the injected client is logged (§8-D) by the pipeline’s capturing wrapper, so the channel never resolves a proxy/client itself or persists anything. - Custom
Stream Send - A channel-driven multi-step exchange that returns a STREAMING body (native
only). Like
CustomSendbut yields(status, headers, stream)so a long-running exchange streams the response incrementally instead of buffering the whole thing.