Toro::Router
Inherits Reference < Object
Constructors
new(context : HTTP::Server::Context, path : Seg, inbox : Hash(Symbol, String))
Sourcenew(context : HTTP::Server::Context)
SourceClass methods
run(*args)
Sourcerun(*args, &)
SourceInstance methods
auth_header
Sourcebasic_auth
Sourcecall
Sourcecontent_type(type)
Sourcecontext
Sourcedelete?
Sourceget?
Sourcehead?
Sourceheader(name, value)
Sourceinbox
Sourcejson(response)
Sourceon?(cond : Bool)
Sourceon?(str : String)
Sourceon?(sym : Symbol)
Sourceoptions?
Sourcepatch?
Sourcepath
Sourcepost?
Sourceput?
Sourceredirect(url)
Sourceroot?
Sourceroutes
Sourcestatus(code)
Sourcestatus
Sourcetext(str)
Sourcewrite(str)
SourceMacros
default
Sourcedelete
Sourceget
Sourcehead
Sourcehtml(template)
Sourcemount(app)
Sourceon(matcher)
Sourceoptions
Sourcepatch
Sourcepost
Sourceput
Sourcerender(template)
Sourceroot
Source