Struct tungstenite::handshake::headers::Headers[][src]

pub struct Headers { /* fields omitted */ }

HTTP request or response headers.

Methods

impl Headers
[src]

Get first header with the given name, if any.

Important traits for HeadersIter<'name, 'headers>

Iterate over all headers with the given name.

Check if the given header has the given value.

Check if the given header has the given value (case-insensitive).

Important traits for Iter<'a, T>

Allows to iterate over available headers.

Trait Implementations

impl Debug for Headers
[src]

Formats the value using the given formatter. Read more

impl<'b: 'h, 'h> FromHttparse<&'b [Header<'h>]> for Headers
[src]

Convert raw object into parsed HTTP headers.

Auto Trait Implementations

impl Send for Headers

impl Sync for Headers