pass the request properties that the listener requires. Usually added by the middlewares
Would pass the captured path parameters to the path
property
The http method to match. If omitted will match any method.
If a pathname has a {some_name} in it it would be captured and accessible with the path
paramters.
You can have multiple parameters in the path, all of them will be extracted.
You match pathnames with regex. They need to start it with a ^ and should end it with $ Though that is not required and you can leave it out to create wildcard routes.
Generated using TypeDoc
An options for a route