Expand description
Body filters
Filters that extract a body for a route.
Structs§
- Body
Deserialize Error - An error used in rejections when deserializing a request body fails.
Functions§
- aggregate
- Returns a
Filterthat matches any request and extracts aFutureof an aggregated body. - bytes
- Returns a
Filterthat matches any request and extracts aFutureof a concatenated body. - content_
length_ limit - Require a
content-lengthheader to have a value no greater than some limit. - form
- Returns a
Filterthat matches any request and extracts aFutureof a form encoded body. - json
- Returns a
Filterthat matches any request and extracts aFutureof a JSON-decoded body. - stream
- Create a
Filterthat extracts the request body as afutures::Stream.