Are there any RPC modules which work with promises? On the server I have functions which return promises. I would like to expose them for browser clients to call over websockts or fallbacks. I found some RPC libraries for example dnode, but they exp...
What is a good general design, taking advantage of TypeScript language features, for an RPC-style communication channel between Windows and Workers? SharedWorkers are JavaScript code listings that are run by the browser outside the context of a spe...
I basically want to be able to: Write a few functions in python (with the minimum amount of extra meta data) Turn these functions into a web service (with the minimum of effort / boiler plate) Automatically generate some javascript functions / obje...
My goal is to initiate RPC calls directly from javascript. I have come up with ways to fake callbacks (because of the asynchronous nature of RPC) but I can't figure out how to get custom objects into javascript. So, I've created a class n...
I plowed through the docs and haven't found a solution yet. The app is loosely based on the "sayHello"-example from their docs but every time the code runs the warning Method handler for /eventComm.DatabaseRPC/InsertSingleDocument expecte...
I've been using app engine for Java with cloud endpoints to create a REST api and have suddenly run into this error: WARNING: No discovery doc for API hylytit version v1 in rpc format I'm trying to load the Javascript client library into a...
I need load model data via RPC in my JS. If you do this ajax.jsonRpc("/web/dataset/call_kw", 'call', { model: 'res.partner.category', method: 'search_read', [...] you get a SessionExpiredEr...
I've got this simple Java server process running as a MessagePack RPC service. I want to invoke the hello() service from Javascript, not Java, but have yet to find an example on how to achieve it. There does not appear to be a RPC implementation...
I am trying to update a document using rpc service. I have an xpage with a button. I want to click that button and by using CS javascript to setInterval and update a document field every 5 seconds. I used the remote service control and the code is...
Instead of creating every websocket and defining the entire structure by hand, is there a library that will let me run a function on the Node.js server, that can call a related function on all clients connected to the server simultaneously? Likewise,...
©2020 All rights reserved.