Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

YarpRoute.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

Defined on

This method is defined on the following type: