Function axum::routing::method_routing::patch

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

Route PATCH requests to the given handler.

See get for an example.