WebSocketConnection class abstract
Concrete implementation of this class is returned to client by every successful
WebSocket connection initialized by connect
call.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendByteArrayMessage(
Uint8List message) → Future< bool?> - Call this method when you want to send Byte message to server.
-
sendStringMessage(
String message) → Future< bool?> - Call this method when you want to send Text message to server.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited