[][src]Function actix_web::web::method

pub fn method<P: 'static>(method: Method) -> Route<P>

Create route and add method guard.