Jump to content


  • Content Count

  • Joined

  • Last visited

  1. I Have looked at the websocketserver demo in SMS..but how can i pass parameters from websocket client request? for example on stackoverflow : CLIENT - var ws = new WebSocket('ws://localhost:1234/?id=1&name=foo'); SERVER - const url = require('url'); wss.on('connection', function connection(ws, req) { console.log(url.parse(req.url, true).query); // { id: '1', name: 'foo' } }); How can i translate this in SMS? can someone point me in the right direction?? Mabe it is real simple in SMS..but i'm new to websockets. Mike
  • Create New...