HenningM/express-ws

-onOpen and OnMessage never gets fired

Opened this issue · 0 comments

iasbm commented

@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