pub trait Request {
    type Method: Eq + Hash + Clone + Send + Sync;
    fn path<'a>(&'a self) -> &'a str;
fn method<'a>(&'a self) -> &Self::Method; }
Expand description

Trait to represent a Request which can be handled

Associated Types

Request method, as in HTTP

Required methods

Path of request. Should not have a leading slash.

Request method, as in HTTP

Implementations on Foreign Types

Implementors