1. Home
  2. Docs
  3. V1
  4. Websocket Integration
  5. Connecting

Connecting

The IFrame and Websocket connection will both be based on the same Nonce. So, you will need to have the Nonce generated first.

After you have established a connection to the WebSocket, you will need to Register the Nonce.

ws.onopen = function() {        
        var obj = {
            "action":"REGISTER",
            "nonce":nonce
        };
        ws.send(JSON.stringify(obj));        
    };
Was this article helpful to you? Yes No

How can we help?