Function axum::service::put[][src]

pub fn put<S, B>(svc: S) -> OnMethod<S, EmptyRouter<S::Error>, B> where
    S: Service<Request<B>> + Clone
Expand description

Route PUT requests to the given service.

See get for an example.