Expand description
Reqwest-backed streaming reverse-proxy handler.
Every inbound HTTP request is forwarded to state.upstream unchanged
(modulo hop-by-hop headers), the response is streamed back to the client
as it arrives (no buffering), and a tee’d copy of the byte stream is fed
to a background task that reassembles the SSE into a final JSON message
and writes a CaptureRecord via state.store.