Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithTransformPathSet

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpRoute) WithTransformPathSet(path string) YarpRoute

Signature

methodWithTransformPathSet
Adds the transform which sets the request path with the given value.
WithTransformPathSet(path string) YarpRoute
pathstringThe path value to set.
YarpRoute

The configured YarpRoute.

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

Applies to

This method applies to the following types: