Release Notes: JavaScript client
Jump to other release notes:
4.2.0
Release date: January 29, 2020
What's New
Added the ability to use the Kaazing WebSocket client library without overriding the browser's native WebSocket object (kaazing.io/1605)
This change is backward compatible. That is the
window.WebSocketobject will continue to be overridden with the Kaazing implementation.To prevent that, use the new
WebSocket.noredefine.jslibrary instead. For example:<script type="text/javascript" language="javascript" src="WebSocket.noredefine.js"></script>When using
WebSocket.noredefine.js, other libraries or generic Javascript code that runsnew WebSocket(...)will use the browser nativewindow.WebSocketobject, without any Kaazing modifications.Other Kaazing client libraries, such as
JmsClient.js, will work correctly irrespective of whether you useWebSocket.jsorWebSocket.noredefine.js.If you use
WebSocket.noredefine.js, and would like to create a WebSocket connection that utilizes the Kaazing implementation – for it's extensions likeinactivity.timeoutor theChallengeHandler- then you can create a new connection using theWebSocketExobject (for extended WebSocket):const ws = new WebSocketEx("...");
4.1.0
Release date: May 1, 2016
What's New
JavaScript client is now available using npm (roadmap/388) Learn more
JavaScript client is now available using Bower (roadmap/388) Learn more
JavaScript client can be included in your application directly from CDN (roadmap/388) Learn more