Module hyper::header
[-]
[+]
[src]
Headers container, and common header fields.
hyper has the opinion that Headers should be strongly-typed, because that's
why we're using Rust in the first place. To set or get any header, an object
must implement the Header
trait from this module. Several common headers
are already provided, such as Host
, ContentType
, UserAgent
, and others.
Reexports
pub use self::common::*; |
pub use self::shared::*; |
Modules
common | Common Headers A Collection of Header implementations for common HTTP Headers. |
shared | Various functions, structs and enums useful for many headers. |
Structs
HeaderFormatter | A wrapper around any Header with a Show impl that calls fmt_header. |
HeaderView | Returned with the |
Headers | A map of header fields on requests and responses. |
HeadersItems | An |
Traits
Header | A trait for any object that will represent a header field and value. |
HeaderFormat | A trait for any object that will represent a header field and value. |