mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-03-06 00:00:02 +08:00
Declare public methods of adapter and add adapter header to the bridge header
This commit is contained in:
@@ -2,3 +2,4 @@
|
||||
// Use this file to import your target's public headers that you would like to expose to Swift.
|
||||
//
|
||||
|
||||
#import "OpenVPNAdapter+Provider.h"
|
||||
|
||||
@@ -34,4 +34,12 @@ NS_SWIFT_NAME(handle(error:));
|
||||
|
||||
@property (weak, nonatomic, null_unspecified) id<OpenVPNAdapterDelegate> delegate;
|
||||
|
||||
- (BOOL)configureWithUsername:(nonnull NSString *)username
|
||||
password:(nonnull NSString *)password
|
||||
error:(out NSError * __nullable * __nullable)error
|
||||
NS_SWIFT_NAME(configure(username:password:));
|
||||
|
||||
- (void)connect;
|
||||
- (void)disconnect;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user