Trait trillium_http_types::headers::Header[][src]

pub trait Header {
    fn header_name(&self) -> HeaderName;
fn header_value(&self) -> HeaderValue; fn apply_header<H: AsMut<Headers>>(&self, headers: H) { ... } }
Expand description

A trait representing a HeaderName and HeaderValue pair.

Required methods

Access the header’s name.

Access the header’s value.

Provided methods

Insert the header name and header value into something that looks like a Headers map.

Implementations on Foreign Types

Implementors