hmng/jsonrpc-c

Decoupling JSON-RPC and TCP soclet

dtoubelis opened this issue · 1 comments

Hi,

Did you guys ever thought about decoupling JSON-RPC API from TCP sockets? For my project I need to use JSON-RPC with messaging system (zeromq/amqp). I like your API and it would be nice just to be able pass a JSON request to the API and receive a string back containing JSON-RPC reply back. This way your API can be uses with any transport not just TCP.

hmng commented

Hi,

So you basically just want to use the dispatcher, registering methods and calling the functions that were registered?
That's a small part of the code, you are free to use it anyway you like.
I am interested in ways to make the library more generic and more useful, but I have my hands full right now.
If you do anything, please keep me posted.

Cheers,

hmng