Trait mimeograph_router::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

Return the path portion of a URI.

Returns the http VERB in UPPERCASE

Implementations on Foreign Types

Implementors