Trait hyper_simple_server::RequestExt[][src]

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

Required methods

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

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

Loading content...