Skip to content

ZooKeeperGatewayListProvider.GetGatewaysAsync(CancellationToken)

GetGatewaysAsync(CancellationToken)

View source
public Task<IList<Uri>> GetGatewaysAsync(CancellationToken cancellationToken = default(CancellationToken))
Gets the gateway endpoints which clients can use to connect to the cluster.

Parameters

cancellationTokenCancellationToken
The token used to cancel gateway discovery.

Returns

The list of gateway endpoints.