Phoenix WebSockets Below a Microscope ๐Ÿ”ฌ ยท Dimitris Zorbas

data checklist

That is a code-finding out and exploration post in regards to the WebSockets facet of Phoenix.
It builds upon one of the most tracing ways showcased within the old post, to peep
one of the most internals of Phoenix.
It furthermore aspects some tips I repeatedly make use of to debug WebSocket
related points. The title and nature of this post are impressed by the
marvellous e book Ruby Below a Microscope written by Pat Shaughenessy.


The WebSocket Protocol permits two-technique conversation between a consumer
running untrusted code in a controlled ambiance to a distant host
that has opted-in to communications from that code

The aim of
this abilities is to carry out a mechanism for browser-primarily primarily based mostly
capabilities that need two-technique conversation with servers that does
now not count on opening just a few HTTP connections (e.g., utilizing
XMLHttpRequest or