mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Pause vpn client
This commit is contained in:
@@ -161,6 +161,14 @@ NS_SWIFT_NAME(provide(credentials:));
|
||||
*/
|
||||
- (void)connect;
|
||||
|
||||
/**
|
||||
Pause the client –- useful to avoid continuous reconnection attempts
|
||||
when network is down
|
||||
|
||||
@param pauseReason <#reason description#>
|
||||
*/
|
||||
- (void)pauseWithReason:(nullable NSString *)pauseReason;
|
||||
|
||||
/**
|
||||
Close connection with the VPN server
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user