Function axum::routing::method_routing::patch

source ·
pub fn patch<H, T, S>(handler: H) -> MethodRouter<S, Infallible>
where H: Handler<T, S>, T: 'static, S: Clone + Send + Sync + 'static,
Expand description

Route PATCH requests to the given handler.

See get for an example.