Function viz_router::options [−][src]
pub fn options<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 OPTIONS