Skip to content
Docs Try Aspire

withTransformPathRouteValues

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

Signature

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

Applies to

This function is an extension method on the following types: