Skip to content
DocsTry Aspire
DocsTry

withTransformPathPrefix

Method
📦 Aspire.Hosting.Yarp v13.4.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
prefixstring
YarpRoute

Applies to

This method applies to the following types: