aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Integrations/VPN/IVPNClient.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-02-06 09:14:06 -0600
committerJP Dillingham <jp@dillingham.me>2026-02-06 09:14:06 -0600
commitb2c321c401d305e7c8f9edcd60c3d9e03ddfa359 (patch)
treedc461930db3fd0ee388a9040490cf8d419df2173 /src/slskd/Integrations/VPN/IVPNClient.cs
parent1709f1aaa22f32904236616fcb4b41b0cc3cca4e (diff)
downloadslskd-b2c321c401d305e7c8f9edcd60c3d9e03ddfa359.tar.gz
consolidate calls into one
Diffstat (limited to 'src/slskd/Integrations/VPN/IVPNClient.cs')
-rw-r--r--src/slskd/Integrations/VPN/IVPNClient.cs10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/slskd/Integrations/VPN/IVPNClient.cs b/src/slskd/Integrations/VPN/IVPNClient.cs
index 7c6c5022..0b4a872d 100644
--- a/src/slskd/Integrations/VPN/IVPNClient.cs
+++ b/src/slskd/Integrations/VPN/IVPNClient.cs
@@ -27,12 +27,6 @@ public interface IVPNClient
/// <summary>
/// Fetch the VPN connection status from the provider.
/// </summary>
- /// <returns>A value indicating whether the VPN is connected.</returns>
- public Task<bool> GetIsConnectedAsync();
-
- /// <summary>
- /// Fetch the forwarded port configured with the provider, if enabled.
- /// </summary>
- /// <returns>The forwarded port, or null if one hasn't been provided yet.</returns>
- public Task<int?> GetForwardedPortAsync();
+ /// <returns>The current status.</returns>
+ public Task<VPNStatus> GetStatusAsync();
} \ No newline at end of file