viktor-shmigol / ng2-cable

Connect your Angular(2/4)/ionic(2/3) application with Rails ActionCable
https://ng2-cable-example.herokuapp.com
44 stars 14 forks source link

Broadcast from client to server #14

Open anhvu3594 opened 7 years ago

anhvu3594 commented 7 years ago

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

rickybrown commented 6 years ago

i have the same question. how is the broadcast method supposed to work?