Skip to content
DocsTry Aspire
DocsTry

IYarpConfigurationBuilder.addCatchAllRoute

Method
📦 Aspire.Hosting.Yarp v13.4.0
interface IYarpConfigurationBuilder {
// ... omitted for brevity
addCatchAllRoute(target: ExternalServiceResource|string): YarpRoute;
}

Signature

methodaddCatchAllRoute
Adds a catch-all route for a cluster, endpoint, resource, or string destination target.
addCatchAllRoute(target: ExternalServiceResource|string): YarpRoute
targetExternalServiceResource|string
YarpRoute

Defined on

This method is defined on the following type: