Function viz_router::connect [−][src]
pub fn connect<H, A>(h: H) -> Route where
A: Extract,
A::Error: Into<Response>,
H: Handler<A>,
H::Output: Into<Response>,
H::Future: Future<Output = H::Output> + Send + 'static,
Endpoint<H, A>: for<'m> Middleware<'m, Context, Output = Result>,
Expand description
Appends a route, handle HTTP verb CONNECT