aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Relay/API
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2023-01-21 11:19:50 -0600
committerJP Dillingham <jpdillingham@gmail.com>2023-01-21 11:19:50 -0600
commit3b4f9e74ae0032f1f54c53f4fb5e39abd34db106 (patch)
treefe985abea56110024e33af68844c226967773358 /src/slskd/Relay/API
parent2f1d36d46836f90bac27bb8dd957a15ba7b6429b (diff)
downloadslskd-3b4f9e74ae0032f1f54c53f4fb5e39abd34db106.tar.gz
docs
Diffstat (limited to 'src/slskd/Relay/API')
-rw-r--r--src/slskd/Relay/API/Controllers/RelayController.cs6
-rw-r--r--src/slskd/Relay/API/Hubs/RelayHub.cs6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/slskd/Relay/API/Controllers/RelayController.cs b/src/slskd/Relay/API/Controllers/RelayController.cs
index f76e8288..ee282b17 100644
--- a/src/slskd/Relay/API/Controllers/RelayController.cs
+++ b/src/slskd/Relay/API/Controllers/RelayController.cs
@@ -98,7 +98,7 @@ namespace slskd.Relay
}
/// <summary>
- /// Downloads a file.
+ /// Downloads a file from the connected controller.
/// </summary>
/// <param name="token">The unique identifier for the request.</param>
/// <returns></returns>
@@ -149,7 +149,7 @@ namespace slskd.Relay
}
/// <summary>
- /// Uploads a file.
+ /// Uploads a file to the connected controller.
/// </summary>
/// <param name="token">The unique identifier for the request.</param>
/// <returns></returns>
@@ -247,7 +247,7 @@ namespace slskd.Relay
}
/// <summary>
- /// Uploads share information.
+ /// Uploads share information to the connected controller.
/// </summary>
/// <param name="token">The unique identifier for the request.</param>
/// <returns></returns>
diff --git a/src/slskd/Relay/API/Hubs/RelayHub.cs b/src/slskd/Relay/API/Hubs/RelayHub.cs
index 43f49976..e246711e 100644
--- a/src/slskd/Relay/API/Hubs/RelayHub.cs
+++ b/src/slskd/Relay/API/Hubs/RelayHub.cs
@@ -169,7 +169,7 @@ namespace slskd.Relay
}
/// <summary>
- /// Initiates the share upload workflow by generating and retrieving a request token.
+ /// Executed by the agent to initiate the share upload workflow by generating and retrieving a request token.
/// </summary>
/// <returns>The generated token.</returns>
/// <exception cref="UnauthorizedAccessException">Thrown when the agent is not fully authenticated.</exception>
@@ -188,7 +188,7 @@ namespace slskd.Relay
}
/// <summary>
- /// Notifies the controller that the agent was unable to upload the file requested by a call to <see cref="IRelayHub.RequestFileUpload"/>.
+ /// Executed by the agent to notify the controller that the agent was unable to upload the file requested by a call to <see cref="IRelayHub.RequestFileUpload"/>.
/// </summary>
/// <param name="id">The unique identifier of the request.</param>
/// <param name="exception">The Exception that caused the failure.</param>
@@ -207,7 +207,7 @@ namespace slskd.Relay
}
/// <summary>
- /// Returns the response to a call to <see cref="IRelayHub.RequestFileInfo"/>.
+ /// Executed by the agent to return the response to a call to <see cref="IRelayHub.RequestFileInfo"/>.
/// </summary>
/// <param name="id">The unique identifier for the request.</param>
/// <param name="exists">A value indicating whether the requested file exists on the agent's filesystem.</param>