Go WebSocket Tutorial

What are WebSockets and what are their advantages over traditional HTTP? HTTP is simply a request response protocol. This means a client such as a web browser sends a request and the server works on this request and sends a response. This request and response uses a TCP connection underneath. Once the response is received, the TCP connection is closed and can&rsquo;t be reused. The client has to…