Kemal::Route
Inherits Struct < Value < Object
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, &handler : HTTP::Server::Context -> _)
SourceInstance methods
handler
Sourcemethod
Sourcepath
Source