Expand description
Body filters
Filters that extract a body for a route.
Structsยง
- An error used in rejections when deserializing a request body fails.
- BodyReadError ๐
- BodyStream ๐
- Form ๐
- Json ๐
Traitsยง
- Decode ๐
Functionsยง
- Returns a
Filter
that matches any request and extracts aFuture
of an aggregated body. - body ๐
- Returns a
Filter
that matches any request and extracts aFuture
of a concatenated body. - Require a
content-length
header to have a value no greater than some limit. - Returns a
Filter
that matches any request and extracts aFuture
of a form encoded body. - is_content_type ๐
- Returns a
Filter
that matches any request and extracts aFuture
of a JSON-decoded body. - Create a
Filter
that extracts the request body as afutures::Stream
.
Type Aliasesยง
- BoxError ๐