you need to create a server and client script. and you must provide a JSONRPCResponseManager and dispatcher.
from jsonrpc import JSONRPCResponseManager, dispatcher
something like @ Request.application Def application: The dispatcher is a dictionary {: callable} dispatcher ["Hi"] = lambda: s
response = JSONRPCResponseManager.handle( request.data, dispatcher) return Response(response.json, mimetype='application/json')
source share