kemalcr / kemal

Fast, Effective, Simple Web Framework

Home Page:https://kemalcr.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a list of all configured routes?

vectorselector opened this issue · comments

Not a bug:

I would like to obtain a list of all configured routes
After a short time reading the source code, I am no wiser.
Surely, the Kemal instance that gets run can report upon it's configured routes?
pp Kemal.config.handlers gives me an empty array...

Kemal::RouteHandler::INSTANCE.routes

or

Kemal.config.setup

will give a list