Add multi methods and results

75 views
Skip to first unread message

Alex Remizoff

unread,
Dec 13, 2019, 7:15:19 AM12/13/19
to JSON-RPC
--> {"jsonrpc": "3.0", "methods": [{"method": "subtract", "params": [42, 23], "id": 1}, {"method": "update", "params": [1,2,3,4,5]}, "id": 2], "id": 1}
<-- {"jsonrpc": "3.0", "results": [{"method": "subtract", "result": 19, "id": 1}, {"method": "update", "error": {"code": -32601, "message": "Method not found"}, "id": 2}], "id": 1}

Matt (MPCM)

unread,
Dec 13, 2019, 7:18:16 AM12/13/19
to JSON-RPC
I think batch in 2.0 mostly overs this scenario: https://www.jsonrpc.org/specification#batch
Reply all
Reply to author
Forward
0 new messages