aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Integrations/VPN/IVPNClient.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-02-02 19:08:13 -0600
committerJP Dillingham <jp@dillingham.me>2026-02-02 19:08:13 -0600
commit0a8c9afbc2d435b230f745c7ed6f2e142668c65f (patch)
treea37759271d38523acfdea0c001b47e7985ae5c02 /src/slskd/Integrations/VPN/IVPNClient.cs
parent2fa649934b70edc40350343eb583574dce8c7617 (diff)
downloadslskd-0a8c9afbc2d435b230f745c7ed6f2e142668c65f.tar.gz
docs and interface renames
Diffstat (limited to 'src/slskd/Integrations/VPN/IVPNClient.cs')
-rw-r--r--src/slskd/Integrations/VPN/IVPNClient.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slskd/Integrations/VPN/IVPNClient.cs b/src/slskd/Integrations/VPN/IVPNClient.cs
index 5a111ccd..7c6c5022 100644
--- a/src/slskd/Integrations/VPN/IVPNClient.cs
+++ b/src/slskd/Integrations/VPN/IVPNClient.cs
@@ -28,11 +28,11 @@ public interface IVPNClient
/// Fetch the VPN connection status from the provider.
/// </summary>
/// <returns>A value indicating whether the VPN is connected.</returns>
- public Task<bool> GetConnectionStatusAsync();
+ public Task<bool> GetIsConnectedAsync();
/// <summary>
/// Fetch the forwarded port configured with the provider, if enabled.
/// </summary>
- /// <returns>The forwarded port.</returns>
- public Task<int> GetForwardedPortAsync();
+ /// <returns>The forwarded port, or null if one hasn't been provided yet.</returns>
+ public Task<int?> GetForwardedPortAsync();
} \ No newline at end of file