Trait conduit::Headers [] [src]

pub trait Headers {
    fn find(&self, key: &str) -> Option<Vec<&str>>;
    fn has(&self, key: &str) -> bool;
    fn all(&self) -> Vec<(&str, Vec<&str>)>;
}

Required Methods

Find the value of a given header. Multi-line headers are represented as an array.

Returns true if a particular header exists

Iterate over all of the available headers.

Implementors