Skip to main content

connect

Attribute Macro connect 

Source
#[connect]
Expand description

Creates a route handler with a CONNECT method guard.

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

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

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