ConnectMeClient class

Constructors

ConnectMeClient(WebSocket? socket, HttpHeaders headers)

Properties

hashCode int
The hash code for this object.
no setterinherited
headers HttpHeaders
latefinal
onConnect Function?
latefinal
onDisconnect Function?
latefinal
onError ↔ (dynamic Function(String, [StackTrace])?)
latefinal
onLog ↔ (dynamic Function(String)?)
latefinal
queryTimeout int
latefinal
requestHeaders Map<String, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socket WebSocket?
getter/setter pair
url String
final

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 nonexistent 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