View on GitHub

reading-notes

Using WebSocket to build an interactive web application.

What is Websocket?

WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection.

This is the main reasion which websocket is preferred over the HTTP protocol when building a chat-like communication service that operates at high frequencies with low latency.

Configuring WebSocket