public async Task <bool> PingAsync(EndPoint endPoint) { var client = ConnectionClientFactory.Get(endPoint, this.withRetries, this.retryLimit, this.httpClientTimeoutMilliseconds); return(await client.PingAsync()); }
public ConnectionClient ConnectedTo(EndPoint endPoint) { return(ConnectionClientFactory.Get(endPoint, this.withRetries, this.retryLimit, this.httpClientTimeoutMilliseconds)); }