actix_web::web
pub fn method<P: 'static>(method: Method) -> Route<P>
Create route and add method guard.