Return session token

This commit is contained in:
Sergey Abramchuk
2017-04-30 18:25:48 +03:00
parent 25e85136e8
commit a195d65e96
2 changed files with 15 additions and 2 deletions
+7 -1
View File
@@ -13,6 +13,7 @@
@class OpenVPNProperties;
@class OpenVPNCredentials;
@class OpenVPNConnectionInfo;
@class OpenVPNSessionToken;
@class OpenVPNTransportStats;
@class OpenVPNInterfaceStats;
@class NEPacketTunnelNetworkSettings;
@@ -104,10 +105,15 @@ NS_SWIFT_NAME(handle(logMessage:));
/**
Return information about the most recent connection. Will be available
after an event of type "CONNECTED, otherwise return nil.
after an event of type "OpenVPNEventConnected, otherwise return nil.
*/
@property (nullable, readonly, nonatomic) OpenVPNConnectionInfo *connectionInfo;
/**
Return current session token or nil if session token is unavailable
*/
@property (nullable, readonly, nonatomic) OpenVPNSessionToken *sessionToken;
/**
Return transport stats
*/