class Radbas::RouteCollector
- Radbas::RouteCollector
- Reference
- Object
Included Modules
Direct Known Subclasses
Defined in:
radbas-framework/route_collector.crConstructors
Instance Method Summary
- #delete(path : String, action : ActionLike, name : Symbol | Nil = nil) : self
- #get(path : String, action : ActionLike, name : Symbol | Nil = nil) : self
- #group(path : String = "", &) : self
- #map(method : String, path : String, action : ActionLike, name : Symbol | Nil) : self
- #options(path : String, action : ActionLike, name : Symbol | Nil = nil) : self
- #patch(path : String, action : ActionLike, name : Symbol | Nil = nil) : self
- #post(path : String, action : ActionLike, name : Symbol | Nil = nil) : self
- #put(path : String, action : ActionLike, name : Symbol | Nil = nil) : self
- #sse(path : String, handler : StreamHandlerLike, name : Symbol | Nil = nil) : self
- #ws(path : String, handler : SocketHandlerLike, name : Symbol | Nil = nil) : self
Instance methods inherited from module Radbas::MiddlewareCollector
add(http_handler : HTTP::Handler) : selfadd(middleware : MiddlewareLike) : self add
Constructor Detail
def self.new(router : Routing::Router(Action), middleware : Array(MiddlewareLike), route_path : String | Nil)
#