Skip to main content

delete

Function delete 

Source
pub fn delete<H, T, S>(handler: H) -> MethodRouter<S>
where H: Handler<T, S>, T: 'static, S: Clone + Send + Sync + 'static,
Available on crate feature http-server only.
Expand description

Route DELETE requests to the given handler.

See get for an example.