Json-rpc 2.0 (over https) library

Hello,

Please I need an Erlang library for json-rpc 2.0 (over https).
Any recommendation will be highly appreciated. Thanks.

Austin

4 Likes

Hi @eshikafe and welcome on Erlang forum! I don’t meet similar libraries in Open Source - nevertheless I don’t think it’s a big problem to create it. You can take a look to implementation GitHub - zuiderkwast/jsonrpc2-erlang: JSON-RPC 2.0 for Erlang. So, as minimum I suppose, you can try create this lib with using GitHub - ninenines/cowboy: Small, fast, modern HTTP server for Erlang/OTP. and GitHub - zuiderkwast/jsonrpc2-erlang: JSON-RPC 2.0 for Erlang.

3 Likes

I’m quite interested in JSON-RPC 2.0 but I’ve not yet had a chance to use it.

If you’ve the time I’d love to hear what it is that you are looking for from a JSON-RPC 2.0 library. Thank you

2 Likes

Hello Ipil, my use case is for the implementation of the PAWS protocol in Erlang. Is it something you are willing to assist with? Thanks.

2 Likes

An Erlang version of the gorilla web toolkit rpc package is exactly what I need.

I think Erlang is a perfect fit for my use case - PAWS protocol (with client and server devices running on OpenWRT).

2 Likes

Very cool, thank you.

I’m afraid I am too busy with Gleam!

3 Likes

We have come quite far with Nova not sure what exactly we are missing to compare to Gorilla. Guess it is rpc but that maybe can be solved.

3 Likes

Thanks Taure. I think Nova’s nova_request_plugin will be a good starting point for my PAWS implementation.

2 Likes

I have a small utility module that I often use to implement JSON-RPC 2.0 with. Perhaps it can be of some use to you: jsonrpc.erl · GitHub

5 Likes

Very simple and nice. Thanks @eproxus.

3 Likes