Skip to content
DocsTry Aspire
DocsTry

YarpRoute.withMatchPath

Method
📦 Aspire.Hosting.Yarp v13.4.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: