Single Websocket connection

I wanted to know if it is possible to have a single reusable web-socket connection for every element which is registered by MyScript javascript API.

1 Comment

Dear Bishnu,

We provide an example with MyScriptJS showing a custom integration with two websockets connections to manage multiple inputs. 

The reason we use two and not only one is to always have an available editor to manage the input. 

You can find the example online on github here Multiple inputs and the source code here : HTML and Javascript.

Best regards,

Romain - Web developer @MyScript

Login or Signup to post a comment