Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithTransformPathRouteValues

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpRoute) 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().

Applies to

This method applies to the following types: