axum
0.7.7
Module body
Re-exports
Structs
Functions
In crate axum
Module
axum
::
body
Copy item path
source
·
[
−
]
Expand description
HTTP body utilities.
Re-exports
§
pub use http_body::
Body
as HttpBody;
pub use bytes::
Bytes
;
Structs
§
Body
The body type used in axum requests and responses.
BodyDataStream
A stream of data frames.
Functions
§
to_bytes
Converts
Body
into
Bytes
and limits the maximum size of the body.