Module body

Source
Expand description

HTTP body utilities.

Structs§

Body
The body type used in axum requests and responses.
BodyDataStream
A stream of data frames.
Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.

Traits§

HttpBody
Trait representing a streaming body of a Request or Response.

Functions§

to_bytes
Converts Body into Bytes and limits the maximum size of the body.