WebSocket is a tool designed to exchange messages between a web server and a browser in real-time. Makes it possible to instantly send a message to all the user's devices. Without this technology, the player can send a message to the server, and the server, in turn, sends only a response to the player. WebSocket also allows you to send a message from the server to the client (browser/device) at any time, i.e. devices are now always "listening". At the same time, it works both within all users and locally for a specific user.