SelectClosestService
Name
SelectClosestService
- Selects the Jump service having the lowest latency.
Synopsis
Namespace: LoadBalancer.Client.Auth
public Task<SelectClosestServiceResult> SelectClosestService(Endpoint[] endpoints)
Parameters
endpoint
Endpoint[]
- Expects an array containing endpoints of the Jump services. To obtain endpoints invoke the ListJumpServices method. Each endpoint stored in the array contains the address, port, protocol and the appname that are used to establish a connection.
Return Value
SelectClosestServiceResult
- an endpoint having the lowest latency.