github.com/stafiprotocol/go-substrate-rpc-client@v1.4.7/pkg/gethrpc/testdata/revcall.js (about)

     1  // This test checks reverse calls.
     2  
     3  --> {"jsonrpc":"2.0","id":2,"method":"test_callMeBack","params":["foo",[1]]}
     4  <-- {"jsonrpc":"2.0","id":1,"method":"foo","params":[1]}
     5  --> {"jsonrpc":"2.0","id":1,"result":"my result"}
     6  <-- {"jsonrpc":"2.0","id":2,"result":"my result"}