I have three different classes with functions (written in python). I want to expose all these functions via jsonrpclib or jsonrpclib-pelix. So as i have to register all these functions. problem is some of these functions have same name.
class MyClass:
def fun(self):
return 'hello world'
class OtherClass:
def fun(self):
return 'hello world'
so is it possible that via one jsonrpc server I have differnt urls to register function fun
http://localhost:8080/MyClass/
http://localhost:8080/OtherClass/
I have also asked it here http://stackoverflow.com/questions/41201616/how-to-have-separate-url-for-jsonrpc-using-jsonrpclib-or-jsonrpclib-pelix