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