nodejs websocket client on connect code example
Example: js connect to websocket
var exampleSocket = new WebSocket("wss://www.example.com/socketserver", "protocolOne");
var exampleSocket = new WebSocket("wss://www.example.com/socketserver", "protocolOne");