def sendResponse(self, id, result, error):
        self.sendMessage({"result":result, "error": error, "id":id})
sends a response to the peer
dataset/ETHPy150Open anandology/pyjamas/examples/jsonrpc/public/services/jsonrpc/__init__.py/SimpleMessageHandler.sendResponse