mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 12:57:17 +00:00
7 lines
270 B
JavaScript
7 lines
270 B
JavaScript
|
// This test checks reverse calls.
|
||
|
|
||
|
--> {"jsonrpc":"2.0","id":2,"method":"test_callMeBack","params":["foo",[1]]}
|
||
|
<-- {"jsonrpc":"2.0","id":1,"method":"foo","params":[1]}
|
||
|
--> {"jsonrpc":"2.0","id":1,"result":"my result"}
|
||
|
<-- {"jsonrpc":"2.0","id":2,"result":"my result"}
|