Module hyper::headerExperimental [-]  [+] [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.

Modules

common

Common Headers A Collection of Header implementations for common HTTP Headers.

Structs

HeaderView

Returned with the HeadersItems iterator.

Headers

A map of header fields on requests and responses.

HeadersItems

An Iterator over the fields in a Headers map.

Traits

Header

A trait for any object that will represent a header field and value.