class Skeleton::RouteHandler
- Skeleton::RouteHandler
- Reference
- Object
Included Modules
- HTTP::Handler
Defined in:
skeleton/handlers/RouteHandler.crConstructors
Instance Method Summary
- #call(context : HTTP::Server::Context)
- #connect(path : String, &callback : Callback)
- #delete(path : String, &callback : Callback)
- #get(path : String, &callback : Callback)
- #head(path : String, &callback : Callback)
- #options(path : String, &callback : Callback)
- #patch(path : String, &callback : Callback)
- #post(path : String, &callback : Callback)
- #put(path : String, &callback : Callback)
- #static_routes : Hash(String, HTTP::Server::Context, Hash(String, String) -> Skeleton::Renderable)
- #trace(path : String, &callback : Callback)
- #tree : Radix::Tree(HTTP::Server::Context, Hash(String, String) -> Skeleton::Renderable)
Constructor Detail
Instance Method Detail
def static_routes : Hash(String, HTTP::Server::Context, Hash(String, String) -> Skeleton::Renderable)
#