Skip to main content

put

Attribute Macro put 

Source
#[put]
Expand description

Creates a route handler with a PUT method guard.

Re-exported as ntex::web::put.

Syntax: #[put("path"[, guard = "fn_name"]*[, state = Type])]

Works the same way and takes the same arguments as [web_get].