mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2025-12-23 22:18:39 -05:00
21 lines
800 B
C#
21 lines
800 B
C#
using Cleanuparr.Domain.Entities.Deluge.Response;
|
|
|
|
namespace Cleanuparr.Infrastructure.Features.DownloadClient.Deluge;
|
|
|
|
public interface IDelugeClientWrapper
|
|
{
|
|
Task<bool> LoginAsync();
|
|
Task<bool> IsConnected();
|
|
Task<bool> Connect();
|
|
Task<DownloadStatus?> GetTorrentStatus(string hash);
|
|
Task<DelugeContents?> GetTorrentFiles(string hash);
|
|
Task<DelugeTorrent?> GetTorrent(string hash);
|
|
Task<DelugeTorrentExtended?> GetTorrentExtended(string hash);
|
|
Task<List<DownloadStatus>?> GetStatusForAllTorrents();
|
|
Task DeleteTorrents(List<string> hashes, bool removeData);
|
|
Task ChangeFilesPriority(string hash, List<int> priorities);
|
|
Task<IReadOnlyList<string>> GetLabels();
|
|
Task CreateLabel(string label);
|
|
Task SetTorrentLabel(string hash, string newLabel);
|
|
}
|