Return connection info

This commit is contained in:
Sergey Abramchuk
2017-04-30 17:28:01 +03:00
parent 0c1ce5037f
commit c3be418936
2 changed files with 14 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
@class OpenVPNConfiguration;
@class OpenVPNProperties;
@class OpenVPNCredentials;
@class OpenVPNConnectionInfo;
@class NEPacketTunnelNetworkSettings;
// TODO: Add documentation to properties and methods
@@ -99,6 +100,12 @@ NS_SWIFT_NAME(handle(logMessage:));
*/
@property (weak, nonatomic, null_unspecified) id<OpenVPNAdapterDelegate> delegate;
/**
Return information about the most recent connection. Will be available
after an event of type "CONNECTED, otherwise return nil
*/
@property (nullable, readonly, nonatomic) OpenVPNConnectionInfo *connectionInfo;
/**
<#Description#>