Channels are a really exciting and powerful part of Phoenix that allow us to easily add soft-realtime features to our applications. Channels are based on a simple idea – sending and receiving messages . Senders broadcast messages about topics. Receivers subscribe to topics so that they can get those messages.
Read moreWhat are the event types in WebSocket?
There are totally 4 events:
Read more