YarpRoute.withTransformPathPrefix

Method
📦 Aspire.Hosting.Yarp v17.0.0
interface YarpRoute {
// ... omitted for brevity
withTransformPathPrefix(prefix: string): YarpRoute;
}

Signature

methodwithTransformPathPrefix
Adds the transform which will prefix the request path with the given value.
withTransformPathPrefix(prefix: string): YarpRoute
prefixstringThe path prefix to add.
YarpRoute

Defined on

This method is defined on the following type: