jsonrpc2-erlang
jsonrpc2-erlang copied to clipboard
would it be possible to create a working example for how to use client side of this lib?
I am especially interested in how to use client json rpc to call remote URL? would really appreciate if you could create a simple example
Yes I know. There is no documentation for the client at all so far except some edoc in the source code. I'd appreciate a pull requests on this.
To answer the question: In short, you would have to use httpc to for the HTTP call (assuming by remote URL you're talking about a HTTP URL). A wrapper for httpc in the form of a "transport fun" required by the jsonrpc2_client.