0rpc / zerorpc-node

zerorpc for node.js
http://www.zerorpc.io
Other
705 stars 167 forks source link

Proxy object with methods #47

Closed fuson closed 9 years ago

fuson commented 10 years ago

Maybe It is good idea to create object with methods to remove invokeMethod direct call

bombela commented 9 years ago

This means you need to know the methods beforehand, via some introspection. But you could well be connected to a bunch of different servers, with different versions of the service running etc. So it is then not clear what to use in order to build the local client. Is it possible to catch calls to undefined functions? Then this would be the best approach.