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

pub fn put<H, B, T>(handler: H) -> MethodRouter<H, B, T, MethodNotAllowed> where
    H: Handler<B, T>, 
Expand description

Route PUT requests to the given handler.

See get for an example.