Function rweb::filters::method::post [−][src]
pub fn post() -> impl Filter + Copy
Expand description
Create a Filter
that requires the request method to be POST
.
Example
use warp::Filter; let post_only = warp::post().map(warp::reply);