Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 10, 2022 3:23:50 PM
Aug 12, 2017 3:00:27 AM
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.
Qlik Sense uses WebSockets that enable communication between the web browser and Qlik Sense server. A Qlik Sense application gets generated with visualization objects and data via this communication. These visualisations can then be integrated into any webpage via HTML and javascript custom development.
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.