prefix property

String? prefix
final

Specifies the path with which to match requests. This parameter must always start with /, which by itself matches all requests to the virtual router service name. You can also match for path-based routing of requests. For example, if your virtual router service name is my-service.local, and you want the route to match requests to my-service.local/metrics, then your prefix should be /metrics.

Implementation

final String? prefix;