mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-02-11 00:00:08 +08:00
Add configuration argument to the configuration method
This commit is contained in:
@@ -35,9 +35,10 @@ 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:));
|
||||
password:(nonnull NSString *)password
|
||||
configuration:(nonnull NSData *)configuration
|
||||
error:(out NSError * __nullable * __nullable)error
|
||||
NS_SWIFT_NAME(configure(username:password:configuration:));
|
||||
|
||||
- (void)connect;
|
||||
- (void)disconnect;
|
||||
|
||||
Reference in New Issue
Block a user