Skip to content
DocsTry Aspire
DocsTry

withTransformPathRouteValues

Method
📦 Aspire.Hosting.Yarp v13.4.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: