Trait mimeograph_request::Request[][src]

pub trait Request {
    fn path(&self) -> Cow<'_, str>;
fn method(&self) -> Cow<'_, str>; }
Expand description

A trait for types that can be routed

Required methods

fn path(&self) -> Cow<'_, str>[src]

Expand description

Return the path portion of a URI.

fn method(&self) -> Cow<'_, str>[src]

Expand description

Returns the http VERB in UPPERCASE

Loading content...

Implementors

Loading content...