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