Crate worker_route_macro

Source

Attribute Macrosยง

delete
A macro that creates route handler with worker::Router::delete
get
A macro that creates route handler with worker::Router::get
head
A macro that creates route handler with worker::Router::head
options
A macro that creates route handler with worker::Router::options
patch
A macro that creates route handler with worker::Router::patch
post
A macro that creates route handler with worker::Router::post
put
A macro that creates route handler with worker::Router::put
route
A macro that creates route handler with multiple methods.