pub fn query_params_filter(
) -> impl Filter<Extract = (QueryParameters,), Error = Infallible> + Clone
Expand description

Warp filter that extracts query parameters from the request, if they exist.

Examples found in repository?
src/lib.rs (line 119)
116
117
118
119
120
121
122
123
pub fn extract_request_data_filter(
) -> impl Filter<Extract = Request, Error = warp::Rejection> + Clone {
    warp::path::full()
        .and(query_params_filter())
        .and(warp::method())
        .and(warp::header::headers_cloned())
        .and(warp::body::bytes())
}