Function axum::routing::method_routing::patch_service

source ยท
pub fn patch_service<T, S>(svc: T) -> MethodRouter<S, T::Error>
where T: Service<Request> + Clone + Send + 'static, T::Response: IntoResponse + 'static, T::Future: Send + 'static, S: Clone,
Expand description

Route PATCH requests to the given service.

See get_service for an example.