using System; using System.Net; using System.Threading; using System.Threading.Tasks; namespace LeanCloud.Storage.Internal { public interface IHttpClient { /// /// Executes HTTP request to a with HTTP verb /// and . /// /// The HTTP request to be executed. /// Upload progress callback. /// Download progress callback. /// The cancellation token. /// A task that resolves to Htt Task> ExecuteAsync(HttpRequest httpRequest, IProgress uploadProgress, IProgress downloadProgress, CancellationToken cancellationToken); } }