示例#1
0
        public Task <EndpointStatus> GetEndpointStatus(int timeoutSeconds, string endpoint)
        {
            var request = new ManualHttpWebRequest(endpoint, timeoutSeconds);

            return(request.GetStatus());
        }
 public Task<EndpointStatus> GetEndpointStatus(int timeoutSeconds, string endpoint)
 {
     var request = new ManualHttpWebRequest(endpoint, timeoutSeconds);
     return request.GetStatus();
 }