From 9d14042db13e89e9114ad5420c4881b6af4d293c Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 30 Dec 2022 17:20:22 -0600 Subject: add NotifyFileDownloadCompleted --- src/slskd/Relay/API/Hubs/RelayHub.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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 /// The unique identifier for the request. /// The operation context. Task RequestFileUpload(string filename, long startOffset, Guid id); + + /// + /// Notifies the agent that the download of the specified is complete and that the file is ready for downloading. + /// + /// The name of the newly downloaded file. + /// The unique identifier for the request. + /// The operation context. + Task NotifyFileDownloadCompleted(string filename, Guid id); } /// -- cgit v1.2.3