aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-10-20 20:23:49 -0500
committerJP Dillingham <jp@dillingham.me>2025-10-20 20:23:49 -0500
commitcc8586420754e5daae55946751f2e20d5435d47a (patch)
treecfa4b10af1d219f402fe152b6b174b3424205426
parent6bcc23c1856f9878509c940cc37b5d4fdb90e2d4 (diff)
downloadslskd-cc8586420754e5daae55946751f2e20d5435d47a.tar.gz
remove DownloadAsync from public api
-rw-r--r--src/slskd/Transfers/Downloads/DownloadService.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/slskd/Transfers/Downloads/DownloadService.cs b/src/slskd/Transfers/Downloads/DownloadService.cs
index 015ec384..46809912 100644
--- a/src/slskd/Transfers/Downloads/DownloadService.cs
+++ b/src/slskd/Transfers/Downloads/DownloadService.cs
@@ -64,19 +64,6 @@ namespace slskd.Transfers.Downloads
Task<(List<Transfer> Enqueued, List<Transfer> Failed)> EnqueueAsync(string username, IEnumerable<(string Filename, long Size)> files, CancellationToken cancellationToken = default);
/// <summary>
- /// Downloads the specified enqueued <paramref name="transfer"/> from the remote user.
- /// </summary>
- /// <param name="transfer">The Transfer to download.</param>
- /// <param name="stateChanged">An optional delegate to invoke the transfer state changes.</param>
- /// <param name="cancellationToken">The token to monitor for cancellation.</param>
- /// <returns>The operation context.</returns>
- /// <exception cref="ArgumentNullException">Thrown if the specified Transfer is null.</exception>
- /// <exception cref="TransferNotFoundException">Thrown if the specified Transfer ID can't be found in the database.</exception>
- /// <exception cref="InvalidOperationException">Thrown if the specified Transfer is not in the Queued | Locally state.</exception>
- /// <exception cref="DuplicateTransferException">Thrown if a download matching the username and filename is already tracked by Soulseek.NET.</exception>
- Task<Transfer> DownloadAsync(Transfer transfer, Action<Transfer> stateChanged = null, CancellationToken cancellationToken = default);
-
- /// <summary>
/// Finds a single download matching the specified <paramref name="expression"/>.
/// </summary>
/// <param name="expression">The expression to use to match downloads.</param>