[−][src]Crate rocket_http
Types that map to concepts in HTTP.
This module exports types that map to HTTP concepts or to the underlying
HTTP library when needed. Because the underlying HTTP library is likely to
change (see #17), types in hyper
should be considered unstable.
Modules
ext | Extension traits implemented by several HTTP types. |
hyper | Re-exported hyper HTTP library types. |
uncased | Contains types that encapsulate uncased ASCII strings. |
uri | Types for URIs and traits for rendering URI components. |
Macros
impl_from_uri_param_identity | Macro to automatically generate identity |
Structs
Accept | The HTTP Accept header. |
ContentType | Representation of HTTP Content-Types. |
Cookie | Representation of an HTTP cookie. |
Header | Simple representation of an HTTP header. |
HeaderMap | A collection of headers, mapping a header name to its many ordered values. |
MediaType | An HTTP media type. |
QMediaType | A |
RawStr | A reference to a string inside of a raw HTTP message. |
Status | Structure representing an HTTP status: an integer code and a reason phrase. |
Enums
Cookies | Collection of one or more HTTP cookies. |
Method | Representation of HTTP methods. |
SameSite | The |
StatusClass | Enumeration of HTTP status classes. |