Trait Request
Other items inmimeograph_request
pub trait Request { fn path(&self) -> Cow<'_, str>; fn method(&self) -> Cow<'_, str>; }
A trait for types that can be routed
fn path(&self) -> Cow<'_, str>
Return the path portion of a URI.
fn method(&self) -> Cow<'_, str>
Returns the http VERB in UPPERCASE