abstract class Grip::Routers::Base
- Grip::Routers::Base
- Reference
- Object
Included Modules
- HTTP::Handler
Direct Known Subclasses
Defined in:
grip/routers/base.crInstance Method Summary
- #add_route(method : String, path : String, handler : HTTP::Handler, via : Symbol | Nil | Array(Symbol) | Nil, override : Proc(HTTP::Server::Context, HTTP::Server::Context) | Nil) : Void
- #call(context : HTTP::Server::Context)
- #find_route(verb : String, path : String) : Radix::Result(Route)
Instance Method Detail
abstract
def add_route(method : String, path : String, handler : HTTP::Handler, via : Symbol | Nil | Array(Symbol) | Nil, override : Proc(HTTP::Server::Context, HTTP::Server::Context) | Nil) : Void
#