The traditional use of HTTP connections has the disadvantage that the client always loads the entire HTML page. To solve the problem, AJAX technology was developed. This had, for its part, the disadvantage of establishing unidirectional connections, that is, they only allow communication in one direction, which would lead to long waiting times in today's intensive applications, especially in chats. WebSocket, on the other hand, creates bidirectional connections that allow the exchange of data in both directions, which makes direct contact with the browser possible and, with this, allows short loading periods : as soon as a message is sent, such as one in a tech support chat, it comes in and is shown directly to the other side.