[−][src]Attribute Macro actix_web::get
#[get]
Creates route handler with GET
method guard.
Syntax: #[get("path"[, attributes])]
Attributes:
"path"
- Raw literal string with path for which to register handler. Mandatory.guard="function_name"
- Registers function as guard usingactix_web::guard::fn_guard
wrap="Middleware"
- Registers a resource middleware.