Skip to content
Docs Try Aspire
Docs Try

YarpRoute.withMatchPath

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

Signature

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

Defined on

This method is defined on the following type: