Trait hyper_static_server::RequestExt[][src]

pub trait RequestExt<B> where
    B: Body
{ pub fn is_get(&self) -> bool;
pub fn is_head(&self) -> bool;
pub fn is_put(&self) -> bool;
pub fn is_post(&self) -> bool;
pub fn is_delete(&self) -> bool;
pub fn is_patch(&self) -> bool;
pub fn is_options(&self) -> bool;
pub fn uri_path(&self) -> &str;
pub fn uri_query(&self) -> Option<&str>;
pub fn header(&self, _name: impl AsHeaderName) -> Option<&HeaderValue>;
pub fn header_all(
        &self,
        _name: impl AsHeaderName
    ) -> GetAll<'_, HeaderValue>; }

Required methods

pub fn is_get(&self) -> bool[src]

pub fn is_head(&self) -> bool[src]

pub fn is_put(&self) -> bool[src]

pub fn is_post(&self) -> bool[src]

pub fn is_delete(&self) -> bool[src]

pub fn is_patch(&self) -> bool[src]

pub fn is_options(&self) -> bool[src]

pub fn uri_path(&self) -> &str[src]

pub fn uri_query(&self) -> Option<&str>[src]

pub fn header(&self, _name: impl AsHeaderName) -> Option<&HeaderValue>[src]

pub fn header_all(&self, _name: impl AsHeaderName) -> GetAll<'_, HeaderValue>[src]

Loading content...

Implementors

impl<B> RequestExt<B> for Request<B> where
    B: Body
[src]

Loading content...