Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

YarpRoute.withMatchPath

Method
📦 Aspire.Hosting.Yarp v13.6.0
interface YarpRoute {
// ... omitted for brevity
withMatchPath(path: string): YarpRoute;
}

Signature

methodwithMatchPath
Only match requests with the given Path pattern.
withMatchPath(path: string): YarpRoute
pathstring
YarpRoute

Defined on

This method is defined on the following type: