Object -
http
:
LoadBalancerRule
LoadBalancerRule provides a required interfaces to implement different algorithms.
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
Client
from the algorithm or anhttp:ClientError
for the failure in the algorithm implementation