Function axum::handler::put[][src]

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

Route PUT requests to the given handler.

See get for an example.