Function axum::routing::handler_method_routing::patch[][src]

pub fn patch<H, B, T>(handler: H) -> MethodRouter<H, B, T, MethodNotAllowed> where
    H: Handler<B, T>, 
Expand description

Route PATCH requests to the given handler.

See get for an example.