Macros§
Attribute Macros§
- connect
- Use like
#[connect("/path")] - delete
- Use like
#[delete("/path")] - get
- Use like
#[get("/path")] - head
- Use like
#[head("/path")] - options
- Use like
#[options("/path")] - patch
- Use like
#[patch("/path")] - post
- Use like
#[post("/path")] - put
- Use like
#[put("/path")] - route
- Use like
#[route(path="/path")] - trace
- Use like
#[trace("/path")]