xmlrpc.server.SimpleXMLRPCServer

class xmlrpc.server.SimpleXMLRPCServer(addr, requestHandler=SimpleXMLRPCRequestHandler, logRequests=True, allow_none=False, encoding=None, bind_and_activate=True, use_builtin_types=False) Create a new server instance. This class provides methods for registration of functions that can be called by the XML-RPC protocol. The requestHandler parameter should be a factory for request handler instances; it defaults to SimpleXMLRPCRequestHandler. The addr and requestHandler parameters are passed to

xmlrpc.server.SimpleXMLRPCRequestHandler.rpc_paths

SimpleXMLRPCRequestHandler.rpc_paths An attribute value that must be a tuple listing valid path portions of the URL for receiving XML-RPC requests. Requests posted to other paths will result in a 404 “no such page” HTTP error. If this tuple is empty, all paths will be considered valid. The default value is ('/', '/RPC2').

xmlrpc.server.SimpleXMLRPCRequestHandler

class xmlrpc.server.SimpleXMLRPCRequestHandler Create a new request handler instance. This request handler supports POST requests and modifies logging so that the logRequests parameter to the SimpleXMLRPCServer constructor parameter is honored.

xmlrpc.server.DocXMLRPCServer.set_server_title()

DocXMLRPCServer.set_server_title(server_title) Set the title used in the generated HTML documentation. This title will be used inside the HTML “title” element.

xmlrpc.server.DocXMLRPCServer.set_server_name()

DocXMLRPCServer.set_server_name(server_name) Set the name used in the generated HTML documentation. This name will appear at the top of the generated documentation inside a “h1” element.

xmlrpc.server.DocXMLRPCServer.set_server_documentation()

DocXMLRPCServer.set_server_documentation(server_documentation) Set the description used in the generated HTML documentation. This description will appear as a paragraph, below the server name, in the documentation.

xmlrpc.server.DocXMLRPCServer

class xmlrpc.server.DocXMLRPCServer(addr, requestHandler=DocXMLRPCRequestHandler, logRequests=True, allow_none=False, encoding=None, bind_and_activate=True, use_builtin_types=True) Create a new server instance. All parameters have the same meaning as for SimpleXMLRPCServer; requestHandler defaults to DocXMLRPCRequestHandler. Changed in version 3.3: The use_builtin_types flag was added.

xmlrpc.server.DocXMLRPCRequestHandler

class xmlrpc.server.DocXMLRPCRequestHandler Create a new request handler instance. This request handler supports XML-RPC POST requests, documentation GET requests, and modifies logging so that the logRequests parameter to the DocXMLRPCServer constructor parameter is honored.

xmlrpc.server.DocCGIXMLRPCRequestHandler.set_server_title()

DocCGIXMLRPCRequestHandler.set_server_title(server_title) Set the title used in the generated HTML documentation. This title will be used inside the HTML “title” element.

xmlrpc.server.DocCGIXMLRPCRequestHandler.set_server_name()

DocCGIXMLRPCRequestHandler.set_server_name(server_name) Set the name used in the generated HTML documentation. This name will appear at the top of the generated documentation inside a “h1” element.