Add configuration argument to the configuration method

This commit is contained in:
Sergey Abramchuk
2017-02-12 16:03:39 +03:00
parent 357913a543
commit d8bf4648fd

View File

@@ -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;