WebSocketClient class abstract
- Implementers
Constructors
- WebSocketClient.new()
-
const
Properties
- activeRoom → String
-
no setter
-
activeSessions
→ List<
String> -
no setter
- clientId → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- previousRoom → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
broadcast(
String event, dynamic payload) → void -
emit(
String event, dynamic payload) → void -
getRoomMembers(
{String roomId = ''}) → List< String> -
isActiveSession(
{String sessionId = ''}) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
to(
String clientId, String event, dynamic payload) → void -
toRoom(
String event, String room, dynamic payload) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited