YaWebsocketDelegate class abstract

Constructors

YaWebsocketDelegate()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
yaWebsocketDelegateOnClose(String code, String reason, String remote, String? tag) → dynamic
连接关闭时 (Android 和 iOS 返回信息可能有区别)
yaWebsocketDelegateOnConnecting(String? tag) → dynamic
开始尝试连接时
yaWebsocketDelegateOnError(String localizedMessage, String? message, String? tag) → dynamic
连接发生错误时 (Android 和 iOS 返回信息可能有区别)
yaWebsocketDelegateOnMessage(String message, String? tag) → dynamic
收到信息时
yaWebsocketDelegateOnOpen(String httpStatus, String httpStatusMessage, String? tag) → dynamic
已连接时

Operators

operator ==(Object other) bool
The equality operator.
inherited