Skip to main content

delete

Attribute Macro delete 

Source
#[delete]
Expand description

Creates a route handler with a DELETE method guard.

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

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

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