JavaScript Client
Let’s have a look at the JavaScript client messages in depth.
Receiving messages with the JavaScript client
A Channel can send messages to a connected client at any time, not just in response to an incoming message. We coded this earlier in our PingChannel
with handle_out/3
. We’ll leverage this message to request that the connected client sends us a ping
.
Get hands-on with 1400+ tech skills courses.