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.
- Re: Nerve: RPC framework for Nim enthus1ast
- Re: Nerve: RPC framework for Nim nepeckman
- Re: Nerve: RPC framework for Nim rokups
- Re: Nerve: RPC framework for Nim nepeckman
- Re: Nerve: RPC framework for Nim rokups
- Re: Nerve: RPC framework for Nim nepeckman
- Re: Nerve: RPC framework for Nim rokups
- Re: Nerve: RPC framework for Nim nepeckman
- Re: Nerve: RPC framework for Nim rokups
- Re: Nerve: RPC framework for Nim nepeckman
- Re: Nerve: RPC framework for Nim rokups
- Re: Nerve: RPC framework for Nim nepeckman
- Re: Nerve: RPC framework for Nim rokups
- Re: Nerve: RPC framework for Nim nepeckman
- Re: Nerve: RPC framework for Nim nepeckman
- Re: Nerve: RPC framework for Nim rokups
- Re: Nerve: RPC framework for Nim nepeckman
- Re: Nerve: RPC framework for Nim nepeckman
- Re: Nerve: RPC framework for Nim kidandcat
- Re: Nerve: RPC framework for Nim rokups
