You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how to implement a client "subscribe" to the server and receive message from server forever, currently if I use
let response = waitFor client.call("add", params)
I only get the first response from server, but the scenario is when server accept the subscription then client should receive message from server consequently(streaming data)
The text was updated successfully, but these errors were encountered:
nim-websock have this ability but currently the websocket session in nim-json-rpc is hidden from the rpc method and also hidden from the app using this server.
exposing all active sessions to the app is easy, but telling the rpc method which ws session is active at the time of the rpc-method execution is a bit tricky. but issue #128 also reveals the possibility to use hidden/magicparam/variable to pass the current session without breaking existing rpc method implementation.
I'm not sure how to implement a client "subscribe" to the server and receive message from server forever, currently if I use
I only get the first response from server, but the scenario is when server accept the subscription then client should receive message from server consequently(streaming data)
The text was updated successfully, but these errors were encountered: