Web Sockets
Web Sockets
But these options aren’t ideal for real time data and
that’s where web sockets come in.
The first time is for the client to send a HTTP request to
the server asking to open the connection. If server
agrees it’ll send a 101 Switching Protocols response at
which point the handshake is complete.