express-ws icon indicating copy to clipboard operation
express-ws copied to clipboard

-onOpen and OnMessage never gets fired

Open iasbm opened this issue 5 years ago • 0 comments

@HenningM

I have tried a lot of options by going through the issues...

I have even tried your https://github.com/HenningM/express-ws/blob/master/examples/simple.js

I could see the logs as follows...

middleware get route testing middleware socket testing

But i never get to see those console.log(msg) inside the below on message event

 ws.on('message', function(msg) {
    console.log(msg);
  });

While i appreciate the intention and effort you put into this framework, it is not serving its purpose at all

iasbm avatar Mar 29 '19 09:03 iasbm