aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Relay/API/Hubs/RelayHub.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/slskd/Relay/API/Hubs/RelayHub.cs b/src/slskd/Relay/API/Hubs/RelayHub.cs
index b76f67b9..d0e9a962 100644
--- a/src/slskd/Relay/API/Hubs/RelayHub.cs
+++ b/src/slskd/Relay/API/Hubs/RelayHub.cs
@@ -54,6 +54,14 @@ namespace slskd.Relay
/// <param name="id">The unique identifier for the request.</param>
/// <returns>The operation context.</returns>
Task RequestFileUpload(string filename, long startOffset, Guid id);
+
+ /// <summary>
+ /// Notifies the agent that the download of the specified <paramref name="filename"/> is complete and that the file is ready for downloading.
+ /// </summary>
+ /// <param name="filename">The name of the newly downloaded file.</param>
+ /// <param name="id">The unique identifier for the request.</param>
+ /// <returns>The operation context.</returns>
+ Task NotifyFileDownloadCompleted(string filename, Guid id);
}
/// <summary>