class
Lucky::RouteHandler
- Lucky::RouteHandler
- Reference
- Object
Included Modules
- HTTP::Handler
Defined in:
lucky/route_handler.crInstance Method Summary
-
#call(context : HTTP::Server::Context)
Assuming a request path comes in for
/reports.json, we find and actions with an explicit extension set like/reports.json.
Instance Method Detail
def call(context : HTTP::Server::Context)
#
Assuming a request path comes in for /reports.json,
we find and actions with an explicit extension set like /reports.json. If none are found,
then we look for /reports that accepts the json mime type.