module Route
Defined in:
route.crroute/exception/route_not_found.cr
route/handlers/profiler.cr
route/handlers/router.cr
route/version.cr
Constant Summary
-
HTTP_METHODS =
["get", "post", "put", "patch", "delete", "options"] of ::String
-
Supported http methods
-
VERSION =
"0.1.8"
Instance Method Summary
- #delete(path : String, api : API)
- #draw(route_handler, &)
- #get(path : String, api : API)
- #options(path : String, api : API)
- #patch(path : String, api : API)
- #post(path : String, api : API)
- #put(path : String, api : API)