Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

withTransformPathRouteValues

Method
📦 Aspire.Hosting.Yarp v13.6.0
interface YarpRoute {
// ... omitted for brevity
withTransformPathRouteValues(pattern: string): YarpRoute;
}

Signature

methodwithTransformPathRouteValues
Adds the transform which will set the request path with route values.
withTransformPathRouteValues(pattern: string): YarpRoute
patternstring
YarpRoute

Applies to

This method applies to the following types: