[go: up one dir, main page]

Struct civet::Headers [] [src]

pub struct Headers<'a> {
    // some fields omitted
}

Trait Implementations

impl<'a> Headers for Headers<'a>
[src]

fn find(&self, string: &str) -> Option<Vec<&str>>

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

fn has(&self, string: &str) -> bool

Returns true if a particular header exists

fn all(&self) -> Vec<(&str, Vec<&str>)>

Iterate over all of the available headers.