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

Route PATCH requests to the given service.

See get_service for an example.