Looks like server part also needs per-connection differentiating. await 
Hello.routeRpc(req.body) expects some global connection state which is bad. 
Maybe it could take a user object and pass it to the api? So we could call 
await Hello.routeRpc(req.body, myWebsocket) and api handler could interact with 
myWebsocket the way it needs to.

Reply via email to