Concept Flow - Why WebSockets enable real-time communication
Client sends HTTP request to server
Server upgrades connection to WebSocket
Open two-way communication channel
Client and Server can send messages anytime
Messages received instantly without new HTTP requests
Connection stays open until closed by either side
The flow shows how a normal HTTP request upgrades to a WebSocket connection, enabling continuous two-way messaging without repeated requests.