RouteNode

struct RouteNode

Routes live in a region-allocated ('heap) chain: registration conses, dispatch walks, with no fixed slot count.

Properties

let path: String

The exact request path matched by this route.

let handler: RouteHandler

The handler invoked for this route.

let next: RouteNode?

The next node in the linked sequence, when present.