public Task <HttpRequestOutput> DeleteAsync() { return(_http.SendAsync(new HttpRequestInput { Uri = new Uri(_url), Headers = _headers, Method = HttpMethod.Delete, OnFailure = BuildOnFailure(), Retry = _retryCount, Timeout = _timeout, Properties = _properties })); }
public Task <HttpRequestOutput> SendAsync(string serviceName, HttpRequestInput input) { if (input.Properties == null) { input.Properties = new System.Collections.Generic.Dictionary <string, object>(); } input.Properties[PropertyNames.CircuitKey] = input. return(_client.SendAsync(input)); }