WebSocketClient
External Documentation
Wrapper for a WebSocket client connection
Constructors
Properties
Methods
-
close(
[int code = 1000, String reason = '']) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onClose(
CloseHandler handler) → void - Registers a handler for connection close events
-
onError(
ErrorHandler handler) → void - Registers a handler for error events
-
onMessage(
MessageHandler handler) → void - Registers a handler for incoming messages
-
send(
String message) → void -
sendJson(
Map< String, Object?> data) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited