Skip to content
Docs Try Aspire
Docs Try

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

Applies to

This method applies to the following types: