Function axum::routing::delete

source · []
pub fn delete<H, T, B>(handler: H) -> MethodRouter<B, Infallible> where
    H: Handler<T, B>,
    B: Send + 'static,
    T: 'static, 
Expand description

Route DELETE requests to the given handler.

See get for an example.