jsonrpc4j icon indicating copy to clipboard operation
jsonrpc4j copied to clipboard

Please support 'configs' replace 'params' in --data-binary

Open deanrobin opened this issue 6 years ago • 2 comments

I use this project very long time. But ,today, my client need 'configs' in data-binary, not support 'params', please update it.

deanrobin avatar Jul 09 '19 11:07 deanrobin

https://github.com/briandilley/jsonrpc4j/blob/master/src/test/java/com/googlecode/jsonrpc4j/client/JsonRpcClientTest.java final String auth = "auth"; final String authValue = "secret"; client.setAdditionalJsonContent(new HashMap<String, Object>() { { put(auth, authValue); } }); client.invoke("test", new Object[]{1, 2}, byteArrayOutputStream);

anysoft avatar Jul 26 '19 06:07 anysoft

maybe you need to fork this repo and modify it yourself.

anysoft avatar Jul 26 '19 07:07 anysoft