Trait embedded_svc::http::Headers
source · pub trait Headers {
// Required method
fn header(&self, name: &str) -> Option<&str>;
// Provided methods
fn content_type(&self) -> Option<&str> { ... }
fn content_len(&self) -> Option<u64> { ... }
fn content_encoding(&self) -> Option<&str> { ... }
fn transfer_encoding(&self) -> Option<&str> { ... }
fn host(&self) -> Option<&str> { ... }
fn connection(&self) -> Option<&str> { ... }
fn cache_control(&self) -> Option<&str> { ... }
fn upgrade(&self) -> Option<&str> { ... }
}