uber-archive / multitransport-jsonrpc

JSON-RPC Client (Node.js & Browser) and Server (Node.js) aim at "natural looking" server and client code.
116 stars 22 forks source link

Added --path support to jsonrpc-repl. #69

Closed joostvunderink closed 9 years ago

joostvunderink commented 9 years ago

A simple change to make it possible to connect to JSON-RPC servers located at an endpoint with a path, for example http://example.com/public/rpc/v1. The tool jsonrpc-repl has a new argument for that. In this case, you would use jsonrpc-repl -s example.com -p 80 --path /public/rpc/v1.

dfellis commented 9 years ago

Looks good to me. :)

I don't believe we have any tests on the repl, but I'll still wait for them to pass, then merge.

dfellis commented 9 years ago

Published as 0.9.1 :)