Kemal::Route
Route is the main building block of Kemal.
It takes 3 parameters: http method, path and a handler to specify what action to be done if the route is matched.
Constructors
new(method : String, path : String, filters : FilterHandler::ScopedFilters | Nil = nil, &handler : HTTP::Server::Context -> _)
SourceInstance methods
handler
Sourcemethod
Sourcepath
Source