mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-03-25 17:41:57 -04:00
17 lines
619 B
C#
17 lines
619 B
C#
using Transmission.API.RPC.Arguments;
|
|
using Transmission.API.RPC.Entity;
|
|
|
|
namespace Cleanuparr.Infrastructure.Features.DownloadClient.Transmission;
|
|
|
|
/// <summary>
|
|
/// Wrapper interface for Transmission Client to enable testing
|
|
/// </summary>
|
|
public interface ITransmissionClientWrapper
|
|
{
|
|
Task<SessionInfo?> GetSessionInformationAsync();
|
|
Task<TransmissionTorrents?> TorrentGetAsync(string[] fields, string? hash = null);
|
|
Task TorrentSetAsync(TorrentSettings settings);
|
|
Task TorrentSetLocationAsync(long[] ids, string location, bool move);
|
|
Task TorrentRemoveAsync(long[] ids, bool deleteLocalData);
|
|
}
|