Function axum::service::patch [−][src]
pub fn patch<S, B>(svc: S) -> OnMethod<S, EmptyRouter<S::Error>, B> where
S: Service<Request<B>> + Clone,
Expand description
Route PATCH
requests to the given service.
See get
for an example.