ZeroNetWSIO class
Methods
-
close()
→ void
-
-
cmd(String cmdStr, {dynamic params = const {}, int? id, MessageCallback? callback, bool isWrapperCmd = false})
→ void
-
override
-
cmdFuture(String cmdStr, {dynamic params = const {}, bool isWrapperCmd = false})
→ Future<ResponseResult>
-
override
-
connect(String site, {String ip = '127.0.0.1', String port = '43110', bool override = false, String? wrapperKey_, MessageCallback? onEventMessage})
→ Future<void>
-
override
-
connectResult(String site, {String ip = '127.0.0.1', String port = '43110', bool override = false, String? wrapperKey_, MessageCallback? onEventMessage})
→ Future<WebSocketChannel?>
-
-
connectWrapper(String site, {String ip = '127.0.0.1', String port = '43110'})
→ Future<void>
-
override
-
getWrapperKey(String url, {bool override = false})
→ Future<String?>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onMessage(dynamic message)
→ void
-
-
respond({int to = 1, int result = 1, int? id, MessageCallback? callback})
→ void
-
override
-
response({int to = 1, int result = 1, int id = 2})
→ Map
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited