The internal abstraction of a route used by the oak Router
.
methods: HTTPMethods[]
The HTTP methods that this route handles.
middleware: RouterMiddleware<R, P, S>[]
The middleware that will be applied to this route.
options: LayerOptions
Options that were used to create the route.
paramNames: (keyof P)[]
The parameters that are identified in the route that will be parsed out on matched requests.