pub fn Get() -> impl GuardExpand description
Creates a guard that matches the GET request method.
ยงExamples
The route in this example will only respond to GET requests.
use actix_web::{guard, web, HttpResponse};
web::route()
    .guard(guard::Get())
    .to(|| HttpResponse::Ok());