Skip to content
Docs Try Aspire
Docs Try

withMatchPath

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

Signature

method withMatchPath
Matches requests with the specified path pattern.
withMatchPath(path: string): YarpRoute
path string
YarpRoute

Applies to

This method applies to the following types: