Function choices::warp::put

source · []
pub fn put() -> impl Filter + Copy
Expand description

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

Example

use warp::Filter;

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