WebsocketDSClient class

Constructors

WebsocketDSClient(WebSocket ws, String url)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String
final
ws → WebSocket
final

Methods

close() → void
closeCode() → int?
closeReason() → String?
isConnecting() → bool
isOpen() → bool
listen(void onData(dynamic), {Function? onError, void onDone()?}) → StreamSubscription
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(dynamic data) → void
toString() → String
A string representation of this object.
inherited

Operators

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