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