We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 297a068 commit eb0e718Copy full SHA for eb0e718
src/body/body.rs
@@ -29,6 +29,9 @@ type TrailersSender = oneshot::Sender<HeaderMap>;
29
///
30
/// A good default [`HttpBody`](crate::body::HttpBody) to use in many
31
/// applications.
32
+///
33
+/// Note: To read the full body, use [`body::to_bytes`](crate::body::to_bytes)
34
+/// or [`body::aggregate`](crate::body::aggregate).
35
#[must_use = "streams do nothing unless polled"]
36
pub struct Body {
37
kind: Kind,
0 commit comments