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.WebSocket
object will continue to be overridden with the Kaazing implementation.To prevent that, use the new
WebSocket.noredefine.js
library 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.WebSocket
object, without any Kaazing modifications.Other Kaazing client libraries, such as
JmsClient.js
, will work correctly irrespective of whether you useWebSocket.js
orWebSocket.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.timeout
or theChallengeHandler
- then you can create a new connection using theWebSocketEx
object (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