Skip to content

Commit

Permalink
docs(body): reference http-body-util for more implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Aug 30, 2023
1 parent d4a61e3 commit fced10a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/body/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@
//! - **The [`Body`](Body) trait** describes all possible bodies.
//! hyper allows any body type that implements `Body`, allowing
//! applications to have fine-grained control over their streaming.
//! - **The [`Incoming`](Incoming) concrete type**, which is an implementation of
//! `Body`, and returned by hyper as a "receive stream" (so, for server
//! - **The [`Incoming`](Incoming) concrete type**, which is an implementation
//! of `Body`, and returned by hyper as a "receive stream" (so, for server
//! requests and client responses).
//!
//! There are additional implementations available in [`http-body-util`][],
//! such as a `Full` or `Empty` body.
//!
//! [`http-body-util`]: https://docs.rs/http-body-util
pub use bytes::{Buf, Bytes};
pub use http_body::Body;
Expand Down

0 comments on commit fced10a

Please sign in to comment.