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