pub fn put<H, T, S, B>(handler: H) -> MethodRouter<S, B, Infallible>where
    H: Handler<T, S, B>,
    B: Send + 'static,
    T: 'static,
    S: Send + Sync + 'static,
Expand description

Route PUT requests to the given handler.

See get for an example.