Module digest_headers::use_rocket
[−]
[src]
This file defines the types and logic for interacting with Digests from Rocket.
Of primary importance is the DigestHeader
request guard, which can be used directly in a
route, or can be used inside another request guard.
Also defined in this file is the ContentLengthHeader
request guard, and the Error
type that
these guards produce.
For a full example of how these types can be used, see the rocket example on github.
Structs
ContentLengthHeader |
Verify the presence of a Content-Length header. |
DigestHeader |
Verify the presence and format of a Digest header. |
Enums
Error |
The error type for Rocket-related Digest logic |