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