JSON-RPC Server

class jsonrpc.server.JSON_RPC(*args, **kwargs)[source]

This class implements a JSON-RPC 2.0 server as a Twisted Resource

customize(eventhandler)[source]

customize the behavior of the server

eventhandler

set by customize() used to change the behavior of the server

class jsonrpc.server.ServerEvents(jsonrpc)[source]

Subclass this and pass to jsonrpc.customize() to customize the jsonrpc server

callmethod(request, method, kwargs, args, **kw)[source]

Override to implement the methods the server will make available

logerror(result, request)[source]

Override to implement custom error handling

processrequest(result, args)[source]

Override to implement custom handling of the method result and request

server

A link to the JSON-RPC server instance

Previous topic

Welcome to JSONRPC’s documentation!

Next topic

JSON-RPC Proxy

This Page