/// <summary> /// Pings a URL /// </summary> /// <param name="url"></param> /// <returns></returns> public bool PingUrl(string url) { return(WebRequestor.PingUrl(url)); }
public bool WaitForRoleToRespond(string url, int timeoutInMilliSeconds = 900000) { return(RetryHelper.RetryUntil(() => _webRequestor.PingUrl(url), timeoutInMilliSeconds / 1000, TimeSpan.FromSeconds(1))); }