-- -*- M2-comint -*- hash: 13711164247696987443

i1 : server = new JSONRPCServer

o1 = server

o1 : JSONRPCServer

i2 : registerMethod(server, "sum", plus)

i3 : handleRequest(server, makeRequest("sum", {2, 3}, 1))

o3 = {"result": 5, "jsonrpc": "2.0", "id": 1}

i4 : handleRequest(server, makeRequest({("sum", {4, 5}, 2), ("sum", {6, 7}, 3)}))

o4 = [{"result": 9, "jsonrpc": "2.0", "id": 2}, {"result": 13, "jsonrpc":
     "2.0", "id": 3}]

i5 : 
