viz_router

Function put

source
pub fn put<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 PUT verb pair.