IYarpConfigurationBuilder.addRoute
Method
interface IYarpConfigurationBuilder { // ... omitted for brevity addRoute( path: string, target: ExternalServiceResource|string): YarpRoute;}Signature
method
addRoute Adds a route for a cluster, endpoint, resource, or string destination target.
addRoute( path: string, target: ExternalServiceResource|string): YarpRouteParameters
path string target ExternalServiceResource|string Returns
YarpRoute Defined on
This method is defined on the following type: