class Qleex::Router
- Qleex::Router
- Reference
- Object
Included Modules
- HTTP::Handler
Defined in:
router.crConstructors
Instance Method Summary
- #addRoute(method : String, path : String, func : RouterMethod)
- #call(context : Context)
- #delete(path : String | Array(String), func : RouterMethod)
- #get(path : String | Array(String), func : RouterMethod)
- #options(path : String | Array(String), func : RouterMethod)
- #patch(path : String | Array(String), func : RouterMethod)
- #post(path : String | Array(String), func : RouterMethod)
- #put(path : String | Array(String), func : RouterMethod)
- #route(methods : String | Array(String), paths : String | Array(String), func : RouterMethod)
Constructor Detail
Instance Method Detail
def route(methods : String | Array(String), paths : String | Array(String), func : RouterMethod)
#