public override Task <HttpStatusCode> ExecuteAsync(int instance, Proposal <string, SerialilzableWebRequest> command) { return(Concurrency.Iterate <HttpStatusCode>(tcs => _executeAsync(tcs, instance, command))); }
private Task <SerialilzableWebRequest> MakeSerialilzableWebRequest(HttpRequest httpRequest) { return(Concurrency.Iterate <SerialilzableWebRequest>(r => _makeSerializableWebRequest(httpRequest, r))); }
public static Task <WebResponse> GetResponseAsync(this WebRequest webRequest, TimeSpan timeout) { return(Concurrency.Iterate <WebResponse>(tcs => _getResponseAsync(tcs, webRequest, timeout))); }
public virtual Task <HttpWebResponse> GetResponse(SerialilzableWebRequest request) { return(Concurrency.Iterate <HttpWebResponse>(r => _getResponse(request, r))); }