module Router
Defined in:
router.crrouter/handler/handler.cr
router/version.cr
Constant Summary
-
HTTP_METHODS =
["get", "post", "put", "patch", "delete", "options"] of ::String
-
VERSION =
"0.2.7"
Instance Method Summary
- #delete(path : String, &block : Action)
- #get(path : String, &block : Action)
- #options(path : String, &block : Action)
- #patch(path : String, &block : Action)
- #post(path : String, &block : Action)
- #put(path : String, &block : Action)
- #route_handler : RouteHandler