[−][src]Module hyperdrive::body
Provides wrappers that deserialize a request body.
All wrappers provided here implement FromBody
.
Note that the wrapper types will not inspect the Content-Type
header and
instead assume that the body has the right format. You can add a Guard
if you want to reject requests that don't specify the right type.
The wrappers will also ignore the Content-Length
header. If you want to
limit the maximum request size, you can do that in a Guard
as well.
Structs
HtmlForm | Decodes an |
Json | Decodes a JSON-encoded request body. |