rama-http 0.3.0-rc1

rama http layers, services and other utilities
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Streaming request or response body utilities for capturing selected JSON
//! values while forwarding the body unchanged.
//!
//! [`JsonCaptureBody`] is useful when middleware needs to observe or decode
//! small selected JSON values but still pass the full body downstream. It uses
//! [`rama_json::capture`] under the hood: unmatched input is processed as a
//! stream, while selected values are bounded by `max_capture_bytes`.

mod body;

pub use body::JsonCaptureBody;

#[cfg(test)]
mod tests;