September 24, 2018 WebSocket is a protocol that makes two-way communication in real-time between the user and the server possible. A common use cases are chats and online multiplayer games. Today we cover implementing it both on frontend and backend. Let’s go! Explaining WebSockets WebSocket is a different protocol than HTTP. Despite that, to establish a connection, the client sends a WebSocket ha
![Introduction to WebSockets. Creating a Node.js server and using WebSocket API in the browser - wanago.io - Marcin Wanago Blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/7b543c1a49eed7f13b89d4621d2a69c302a48f4c/height=288;version=1;width=512/https%3A%2F%2Fwanago.io%2Fwp-content%2Fuploads%2F2018%2F09%2Fwebsockets.png)