using System;
using System.Threading;
using System.Threading.Tasks;
namespace Octokit.Internal
{
///
/// Generic Http client. Useful for those who want to swap out System.Net.HttpClient with something else.
///
///
/// Most folks won't ever need to swap this out. But if you're trying to run this on Windows Phone, you might.
///
public interface IHttpClient : IDisposable
{
///
/// Sends the specified request and returns a response.
///
/// A that represents the HTTP request
/// Used to cancel the request
/// A of
Task Send(IRequest request, CancellationToken cancellationToken);
}
}