Web Sockets
If you are from the C/C++ or Java world, you are probably aware of the concept socket
. Both clients and servers can actively send each other contents. What does it mean? Think about how you write client-side applications now.
fetch(url).then(...).then(...)
The client is pulling from the server for data. Now, with the help of WebSockets
, the server can also actively send clients data.
More details can be found at MDN Web Docs.