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