Function axum::routing::put[][src]

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

Route PUT requests to the given handler.

See get for an example.