Skip to main content

Module body_capture

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§

BodyCaptureLayer
Layer that captures request bodies, response bodies, or both while they continue streaming through the service.
BodyCaptureService
Service produced by BodyCaptureLayer.

Enums§

CapturedHead
The HTTP head associated with a captured body stream.

Traits§

MakeBodyCaptureSink
Creates a dedicated streaming capture sink for an HTTP message.