Skip to main content

head

Attribute Macro head 

Source
#[head]
Expand description

Creates route handler with HEAD method guard.

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

Attributes are the same as in head