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

21 lines
505 B
Rust
Raw Normal View History

2021-02-15 12:20:43 +00:00
//! Traits and structures to aid consuming and writing HTTP payloads.
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;
2021-12-04 19:40:47 +00:00
pub use self::utils::to_bytes;