RoutesMethods extension
The <method> extension.
- on
Methods
-
delete<
T> (String path, Handler< T> handler) → void -
Available on Routes, provided by the RoutesMethods extension
Registers aDELETEroute that responds to with the result of theclosure. -
get<
T> (String path, Handler< T> handler) → void -
Available on Routes, provided by the RoutesMethods extension
Registers aGETroute that responds to with the result of theclosure. -
head<
T> (String path, Handler< T> handler) → void -
Available on Routes, provided by the RoutesMethods extension
Registers aHEADroute that responds to with the result of theclosure. -
patch<
T> (String path, Handler< T> handler) → void -
Available on Routes, provided by the RoutesMethods extension
Registers aPATCHroute that responds to with the result of theclosure. -
post<
T> (String path, Handler< T> handler) → void -
Available on Routes, provided by the RoutesMethods extension
Registers aPOSTroute that responds to with the result of theclosure. -
put<
T> (String path, Handler< T> handler) → void -
Available on Routes, provided by the RoutesMethods extension
Registers aPUTroute that responds to with the result of theclosure.