OptionalheadersHeader name/value pairs that must all be present on the request.
OptionalhostHost header value to match.
OptionalmethodsHTTP methods accepted by the route (e.g. ["GET", "POST"]).
OptionalpathPath pattern to match (supports trailing wildcards, e.g. /api/*).
Request-matching criteria for a route; omitted fields match anything.