sendAction method
Sends the given action
on the socket.
Implementation
void sendAction(WebSocketAction action) {
if (_socket == null) {
_queue.addLast(action);
} else {
socket?.sink.add(serialize(action));
}
}
Sends the given action
on the socket.
void sendAction(WebSocketAction action) {
if (_socket == null) {
_queue.addLast(action);
} else {
socket?.sink.add(serialize(action));
}
}