Grip::Handlers::Route
Constants
EMPTY_VIA = [] of Symbol
Pre-computed empty array to avoid allocations
Constructors
new(method : String, path : String, handler : ::HTTP::Handler, via : Symbol | Array(Symbol) | Nil = nil, override : Proc(::HTTP::Server::Context, ::HTTP::Server::Context) | Nil = nil)
SourceInstance methods
handler
Sourcehas_pipeline?
Sourceis_static?
Sourcemethod
Sourceoverride
Sourcepath
Sourceprocess_pipeline(context : ::HTTP::Server::Context, pipeline_handler : Grip::Handlers::Pipeline) : ::HTTP::Server::Context
Sourcevia
Source