To connect to an application, you need to use the wolkenkit SDK. As it is a universal module, it works in the browser as well as in Node.js.

The wolkenkit SDK has been tested against Chrome 57+, Firefox 53+, Safari 10.0+, Opera 44.0+, Microsoft Edge 14+, Internet Explorer 11, and Node.js 6.10.2+. Other platforms may work as well, they have just not been tested.

Polyfill old browsers

Please note that for Internet Explorer 11, you need to add the polyfill by the core-js project to make things work:

If your client application uses classic <script> tags, download the wolkenkit-client.browser.min.js file and copy it into the directory of your client application. Then, add a reference to it inside of the client application's index.html file:

While the wss protocol makes use of web sockets, the https protocol uses streaming HTTP. Unfortunately, not all current browsers support streaming HTTP in a reasonable fashion. Hence, you may safely use wss on Node.js, but consider https to be experimental in the browser.