Expand description
Types that map to concepts in HTTP.
This module exports types that map to HTTP concepts or to the underlying HTTP library when needed.
Modules§
- Extension traits implemented by several HTTP types.
- Case-preserving, ASCII case-insensitive string types.
- Types for URIs and traits for rendering URI components.
Macros§
- Macro to automatically generate identity
FromUriParam
trait implementations.
Structs§
- The HTTP Accept header.
- Representation of HTTP Content-Types.
- Representation of an HTTP cookie.
- Collection of one or more HTTP cookies.
- Simple representation of an HTTP header.
- A collection of headers, mapping a header name to its many ordered values.
- Iterator over all of the cookies in a jar.
- An HTTP media type.
- A
MediaType
with an associated quality value. - A reference to a string inside of a raw HTTP message.
- An owned version of
RawStr
. - Structure representing an HTTP status: an integer code.
Enums§
- An HTTP method.
- Parsed
Config::proxy_proto_header
value: identifies a forwarded HTTP protocol (aka X-Forwarded-Proto). - The
SameSite
cookie attribute. - Enumeration of HTTP status classes.