Function warp::filters::method::delete

source ·
pub fn delete() -> impl Filter<Extract = (), Error = Rejection> + Copy
Expand description

Create a Filter that requires the request method to be DELETE.

§Example

use warp::Filter;

let delete_only = warp::delete().map(warp::reply);