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.