Function choices::warp::filters::method::delete [−][src]
pub fn delete() -> impl Filter + Copy
Create a Filter
that requires the request method to be DELETE
.
Example
use warp::Filter; let delete_only = warp::delete().map(warp::reply);