abstract class Grip::Routers::Base

Included Modules

Direct Known Subclasses

Defined in:

grip/routers/base.cr

Instance Method Summary

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 #

[View source]
abstract def call(context : HTTP::Server::Context) #

[View source]
abstract def find_route(verb : String, path : String) : Radix::Result(Route) #

[View source]