feat(*): update v2.0.0 native package

xiaoyi 2021-04-08 11:55:23 +08:00
parent 292a2135dc
commit f03b640698
9 changed files with 4 additions and 3 deletions

Binary file not shown.

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 01c51530a73b04493a43dcac8b5448b2 guid: 2944ce6fc8cb3410b91c55267d05e83b
PluginImporter: PluginImporter:
externalObjects: {} externalObjects: {}
serializedVersion: 2 serializedVersion: 2

View File

@ -100,9 +100,10 @@
- (nonnull instancetype)initWithURL:(nonnull NSURL *)url protocols:(nullable NSArray*)protocols callbackQueue:(nonnull dispatch_queue_t)callbackQueue connectTimeout:(NSTimeInterval)connectTimeout; - (nonnull instancetype)initWithURL:(nonnull NSURL *)url protocols:(nullable NSArray*)protocols callbackQueue:(nonnull dispatch_queue_t)callbackQueue connectTimeout:(NSTimeInterval)connectTimeout;
/** /**
connect to the host connect to the host - blocking
@return YES if successfully connected
*/ */
- (void)connect; - (BOOL)connect;
/** /**
disconnect to the host. This sends the close Connection opcode to terminate cleanly. disconnect to the host. This sends the close Connection opcode to terminate cleanly.

View File