You may have heard of WebSockets every time you looked up “chat”. The WebSocket protocol uses HTTP for the initial handshake and then opens a bidirectional connection.