YarpRoute.WithTransformPathRouteValues

Method
📦 Aspire.Hosting.Yarp v17.0.0
type YarpRoute interface {
// ... 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
patternstringThe route pattern to apply.
YarpRoute

The configured YarpRoute.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: