1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-02 21:39:26 +00:00
actix-web/actix-http/src/body/mod.rs

26 lines
798 B
Rust
Raw Normal View History

2021-02-15 12:20:43 +00:00
//! Traits and structures to aid consuming and writing HTTP payloads.
2022-01-23 03:57:08 +00:00
//!
//! "Body" and "payload" are used somewhat interchangeably in this documentation.
// Though the spec kinda reads like "payload" is the possibly-transfer-encoded part of the message
// and the "body" is the intended possibly-decoded version of that.
2021-02-15 12:20:43 +00:00
mod body_stream;
2021-12-04 19:40:47 +00:00
mod boxed;
mod either;
2021-02-15 12:20:43 +00:00
mod message_body;
2021-12-04 19:40:47 +00:00
mod none;
2021-02-15 12:20:43 +00:00
mod size;
mod sized_stream;
2021-12-04 19:40:47 +00:00
mod utils;
2021-02-15 12:20:43 +00:00
pub use self::body_stream::BodyStream;
2021-12-04 19:40:47 +00:00
pub use self::boxed::BoxBody;
pub use self::either::EitherBody;
2021-02-15 12:20:43 +00:00
pub use self::message_body::MessageBody;
pub(crate) use self::message_body::MessageBodyMapErr;
2021-12-04 19:40:47 +00:00
pub use self::none::None;
2021-02-15 12:20:43 +00:00
pub use self::size::BodySize;
pub use self::sized_stream::SizedStream;
pub use self::utils::{to_bytes, to_bytes_limited, BodyLimitExceeded};