Module body
axum
0.8.1
Module body
Module Items
Re-exports
Structs
Functions
In crate axum
Modules
body
error_handling
extract
handler
middleware
response
routing
serve
Structs
Error
Extension
Router
Traits
RequestExt
RequestPartsExt
ServiceExt
Functions
serve
Type Aliases
BoxError
axum
Module
body
Copy item path
Settings
Help
Summary
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.
Body
Data
Stream
A stream of data frames.
Functions
§
to_
bytes
Converts
Body
into
Bytes
and limits the maximum size of the body.