Bases: object
Creates the JSON-RPC request string, calls the HTTP server, converts JSON-RPC response string to python and returns the result.
Parameters: | method – Name of the method which will be called on the HTTP server. Or a list with RPC-Request-Dictionaries. Syntax: "<MethodName>" or [<JsonRpcRequestDict>, ...]
RPC-Request-Dictionaries will be made with the function rpcrequest.create_request_dict(). |
---|
Bases: BaseHTTPServer.BaseHTTPRequestHandler, concurrent.core.transport.pyjsonrpc.rpclib.JsonRpc
HttpRequestHandler for JSON-RPC-Requests
Info: http://www.simple-is-better.org/json-rpc/transport_http.html
Bases: SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer
Threading HTTP Server
Bases: concurrent.core.transport.pyjsonrpc.rpcerror.JsonRpcError
Bases: concurrent.core.transport.pyjsonrpc.rpcerror.JsonRpcError
Bases: concurrent.core.transport.pyjsonrpc.rpcerror.JsonRpcError
Bases: exceptions.RuntimeError
Bases: concurrent.core.transport.pyjsonrpc.rpcerror.JsonRpcError
Bases: concurrent.core.transport.pyjsonrpc.rpcerror.JsonRpcError
Bases: object
JSON-RPC
Parses the json_request, calls the function(s) and returns the json_response.
Parameters: | json_request – JSON-RPC-string with one or more JSON-RPC-requests |
---|---|
Returns: | JSON-RPC-string with one or more responses. |
Bases: bunch.Bunch
JSON-RPC-Request
Returns a JSON-RPC-Dictionary for a method
Parameters: |
|
---|