koa-websocket icon indicating copy to clipboard operation
koa-websocket copied to clipboard

Storing Connections?

Open donjae opened this issue 8 years ago • 3 comments

Hi,

I'm trying to differentiate between the clients and having a bit of an issue. The method .onopen doesn't really provide the necessary callbacks in the parameters to store the connection.

I've also tried doing, websocket.on('connection/open', (open)=>{...}) and still haven't had any luck.

Any suggestions on how to approach storing the (websocket) client information when the websocket connection opens?

donjae avatar Nov 08 '16 17:11 donjae

I'm also having the same issue. Is this package still supported?

marktyers avatar Apr 25 '20 12:04 marktyers

i also having the same issue.i see the events include the open,close,message....etc.message,close can work,but open doesn't work. image

Selenium39 avatar Jul 28 '20 00:07 Selenium39

i also having the same issue.i see the events include the open,close,message....etc.message,close can work,but open doesn't work. image

although open doesn't work .can write like below image make the open work. image

Selenium39 avatar Jul 28 '20 00:07 Selenium39