PoloClient class
PoloClient
is used to handle Connected WebSocket
Properties
Methods
-
close(
) → Future - Closes the Client
-
joinRoom(
String room) → void - Joins a Room
-
leaveRoom(
String room) → void - Leaves a Room
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onEvent<
T> (String event, void callback(T data)) → void - Adds a Callback to an Event
-
send<
T> (String event, T data) → void - Sends message to the Client from Server
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited