Skip to content
Docs Try Aspire

withMatchPath

Function
📦 Aspire.Hosting.Yarp v13.2.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 function is an extension method on the following types: