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'm trying to create an Ethereum account through Node.js. This is my code:  export async function createNewAccount() {     var web3Instance =  new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));     return web3Instance.eth...
The issue  I'm encountering an issue that pops up semi-frequently on some of our production Meteor app servers where method invocations queue up but never run, despite successful ping/pong DDP messages (and subscriptions) sending.  What I know so...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.