OptionalnameOptional unique name for the route
Route pattern with parameter placeholders
Domain on which the route is registered
HTTP methods accepted by this route
OptionalcontrollerController reference information (if controller-based route)
Dynamic import expression for the controller
Optionalmethod?: stringSpecific controller method to call
Parsed route tokens for URI construction
The route data structure accepted by the routes scanner when initiating the scanning process. This represents the raw route definition before analysis.
Example