popcorn :: Router :: use
handler
path
Route paths are matched in registration order.
# Register a `handler` for a route `path`. # # Route paths are matched in registration order. fun use(path: String, handler: Handler) do var route = build_route(handler, path) handlers[route] = handler end