I see that you have a method called .broadcast('event', object). I thought it was used for broadcast data from client to server. But seemly not. It's just send to client itself.
So can you explain what does that method truly do?
And how can i broadcast data from client to server?
Thank you in advance
I see that you have a method called
.broadcast('event', object)
. I thought it was used for broadcast data from client to server. But seemly not. It's just send to client itself. So can you explain what does that method truly do? And how can i broadcast data from client to server? Thank you in advance