wabbajack/Wabbajack.Networking.Http.Interfaces/IHttpDownloader.cs

13 lines
363 B
C#
Raw Normal View History

2021-09-27 12:42:46 +00:00
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Wabbajack.Hashing.xxHash64;
using Wabbajack.Paths;
using Wabbajack.RateLimiter;
2021-10-23 16:51:17 +00:00
namespace Wabbajack.Networking.Http.Interfaces;
public interface IHttpDownloader
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
public Task<Hash> Download(HttpRequestMessage message, AbsolutePath dest, IJob job, CancellationToken token);
2021-09-27 12:42:46 +00:00
}