pub trait Dispatcher: RefUnwindSafe {
fn dispatch(&self, state: State) -> Box<HandlerFuture>;
}
Expand description
Used by Router
to dispatch requests via pipelines and finally into the configured Handler
.
Required methods
fn dispatch(&self, state: State) -> Box<HandlerFuture>
fn dispatch(&self, state: State) -> Box<HandlerFuture>
Dispatches a request via pipelines and Handler
represented by this Dispatcher
.