Skip to main content

get

Attribute Macro get 

Source
#[get]
Expand description

Shortcut: registers an IRequest impl at GET /path.

#[get("/users/{id}")]
impl IRequest<UserModel> for GetUserRequest {}