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