Module body_capture
Available on crate features
http and std only.Expand description
Asynchronous streaming request and response body capture.
BodyCaptureLayer creates a dedicated BodyCaptureSink for each
selected HTTP message. Each sink receives owned frame copies while the
original body continues downstream.
Structs§
- Body
Capture Layer - Layer that captures request bodies, response bodies, or both while they continue streaming through the service.
- Body
Capture Service - Service produced by
BodyCaptureLayer.
Enums§
- Captured
Head - The HTTP head associated with a captured body stream.
Traits§
- Make
Body Capture Sink - Creates a dedicated streaming capture sink for an HTTP message.