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