[][src]Function warp::filters::method::v2::put

pub fn put() -> impl Filter<Extract = (), Error = Rejection> + Copy

Create a Filter that requires the request method to be PUT.

Example

use warp::Filter;

let put_only = warp::put2().map(warp::reply);