ConnectMeClient class Null safety

Constructors

ConnectMeClient(ConnectMeSocket socket)

Properties

address → dynamic
final
autoReconnect bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Map<String, dynamic>
final
onConnect Function?
read / write
onDisconnect Function?
read / write
onError → (dynamic Function?(String, [StackTrace])?)
final
onLog → (dynamic Function?(String)?)
final
port int
final
queryTimeout int
read / write
reconnectTimer Timer?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
socket ConnectMeSocket
read / write

Methods

cancel<T>(dynamic handler(T)) → void
close() Future<void>
connect() Future<void>
listen<T>(dynamic handler(T)) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
query<T extends PackMeMessage>(PackMeMessage message) Future<T>
register(Map<int, PackMeMessage Function()> messageFactory) → void
send(dynamic data) → void
toString() String
A string representation of this object. [...]
inherited

Operators

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