Skip to content
Docs Try Aspire
Docs Try

IYarpConfigurationBuilder.addCatchAllRoute

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

Signature

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

Defined on

This method is defined on the following type: