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
Using jayson can a browser (client) make an rpc call to the (node.js) server and then the server make an rpc call back to the browser client?
if so is there an example of that anywhere?
otherwise fwiw I do see some other json-rpc libraries showing examples of this ability when using websockets.
I didn't see a way to add handlers for rpc calls on the client object in the jayson api, but Is it conceivable an initial websocket connection could be established with browser as client and then would/could it be the node.js server could create a jayson client instance and the browser create a jayson server instance passing in that websocket connection?
i.e. to enable calls going in both directions?
The text was updated successfully, but these errors were encountered:
Using jayson can a browser (client) make an rpc call to the (node.js) server and then the server make an rpc call back to the browser client?
if so is there an example of that anywhere?
otherwise fwiw I do see some other json-rpc libraries showing examples of this ability when using websockets.
I didn't see a way to add handlers for rpc calls on the client object in the jayson api, but Is it conceivable an initial websocket connection could be established with browser as client and then would/could it be the node.js server could create a jayson client instance and the browser create a jayson server instance passing in that websocket connection?
i.e. to enable calls going in both directions?
maybe you mean you want to do a webhook but use a websocket?
hi really just a question:
Using jayson can a browser (client) make an rpc call to the (node.js) server and then the server make an rpc call back to the browser client?
if so is there an example of that anywhere?
otherwise fwiw I do see some other json-rpc libraries showing examples of this ability when using websockets.
I didn't see a way to add handlers for rpc calls on the client object in the jayson api, but Is it conceivable an initial websocket connection could be established with browser as client and then would/could it be the node.js server could create a jayson client instance and the browser create a jayson server instance passing in that websocket connection?
i.e. to enable calls going in both directions?
The text was updated successfully, but these errors were encountered: