Abstract Object
-
http
:
LoadBalancerRule
LoadBalancerRule provides a required interfaces to implement different algorithms.
Methods
Provides an HTTP client which is chosen according to the algorithm.
Isolated Function
Provides an HTTP client which is chosen according to the algorithm.
Parameters
- loadBalanceCallerActionsArray Client?[]
-
Array of HTTP clients which needs to be load balanced
-
Return Type
(Client | ClientError) Chosen
Clientfrom the algorithm or anhttp:ClientErrorfor the failure in the algorithm implementation