Attribute Macro get

Source
#[get]
Expand description

Creates route handler with GET method guard.

Syntax: #[get("path"[, attributes])]

Attributes are the same as in handler