A WebSocket is a client-server technology that opens a communication session between the client web browser and the server. It uses the ws:// or wss:// protocol to connect to endpoints and establishes a full-duplex communication over a single connection.
In a document, once a WebSocket connection is established with the web server, you can send data from the client browser to the server and receive data from the server to the browser. WebSockets improve the scalability of real-time bi-directional communication between servers and web browsers. This makes a significant improvement in web communication speed.
It is recommended to have a single WebSocket connection per client to make an application more manageable, when adding Qlik Sense to a web integration. Concurrency and multiple WebSockets per client may make a page unresponsive due to data coming in from each WebSocket connection.
Web sockets are supported by modern browsers such as Chrome and Firefox. However, in Internet Explorer 11, there is a default limit of WebSocket connections per server. The default limit is 6, you can select a value from 2 through 128.