web_options

Attribute Macro web_options 

Source
#[web_options]
Expand description

Creates route handler with OPTIONS method guard.

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

Attributes are the same as in options