Function axum::routing::service_method_routing::delete [−][src]
pub fn delete<S, B>(svc: S) -> MethodRouter<S, MethodNotAllowed<S::Error>, B> where
S: Service<Request<B>> + Clone,
Expand description
Route DELETE
requests to the given service.
See get
for an example.