Skip to content

Commit fced10a

Browse files
committed
docs(body): reference http-body-util for more implementations
1 parent d4a61e3 commit fced10a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/body/mod.rs

+7-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@
1010
//! - **The [`Body`](Body) trait** describes all possible bodies.
1111
//! hyper allows any body type that implements `Body`, allowing
1212
//! applications to have fine-grained control over their streaming.
13-
//! - **The [`Incoming`](Incoming) concrete type**, which is an implementation of
14-
//! `Body`, and returned by hyper as a "receive stream" (so, for server
13+
//! - **The [`Incoming`](Incoming) concrete type**, which is an implementation
14+
//! of `Body`, and returned by hyper as a "receive stream" (so, for server
1515
//! requests and client responses).
16+
//!
17+
//! There are additional implementations available in [`http-body-util`][],
18+
//! such as a `Full` or `Empty` body.
19+
//!
20+
//! [`http-body-util`]: https://docs.rs/http-body-util
1621
1722
pub use bytes::{Buf, Bytes};
1823
pub use http_body::Body;

0 commit comments

Comments
 (0)