Code

Changes between Version 3 and Version 4 of Simplistic_json_rpc-dispatcher


Ignore:
Timestamp:
09/15/09 09:17:36 (5 years ago)
Author:
floydpetrus
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Simplistic_json_rpc-dispatcher

    v3 v4  
    99 
    1010def JSON_RPC_io(object): 
    11       methods = Set(['<method1>', '<method2>', '<method3>', ....])  # Set of available service method names 
     11      methods = set(['<method1>', '<method2>', '<method3>', ....])  # Set of available service method names 
    1212      rpc_inputs = jsonrpc.json.loads(object.raw_post_data) 
    1313      sub_eval = str(rpc_inputs['method']) + '(rpc_inputs[\'params\'])'