Changes between Version 3 and Version 4 of Simplistic_json_rpc-dispatcher
- Timestamp:
- Sep 15, 2009, 11:17:36 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Simplistic_json_rpc-dispatcher
v3 v4 9 9 10 10 def JSON_RPC_io(object): 11 methods = Set(['<method1>', '<method2>', '<method3>', ....]) # Set of available service method names11 methods = set(['<method1>', '<method2>', '<method3>', ....]) # Set of available service method names 12 12 rpc_inputs = jsonrpc.json.loads(object.raw_post_data) 13 13 sub_eval = str(rpc_inputs['method']) + '(rpc_inputs[\'params\'])'