logo

Function actix_web::guard::Method[][src]

pub fn Method(method: HttpMethod) -> impl Guard
Expand description

Creates a guard that matches a specified HTTP method.