viz_router

Function options

source
pub fn options<H, O>(handler: H) -> Route
where H: Handler<Request, Output = Result<O>> + Clone, O: IntoResponse,
Expand description

Creates a route with a handler and HTTP OPTIONS verb pair.