Changes between Version 2 and Version 3 of Simplistic_json_rpc-dispatcher
- Timestamp:
- Sep 15, 2009, 10:31:41 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Simplistic_json_rpc-dispatcher
v2 v3 9 9 10 10 def JSON_RPC_io(object): 11 methods = Set(['<method1>', '<met ohod2>', '<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\'])'