11.22 DocXMLRPCServer -- Self-documenting XML-RPC server

New in version 2.3.

The DocXMLRPCServer module extends the classes found in SimpleXMLRPCServer to serve HTML documentation in response to HTTP GET requests. Servers can either be free standing, using DocXMLRPCServer, or embedded in a CGI environment, using DocCGIXMLRPCRequestHandler.

class DocXMLRPCServer( addr[, requestHandler[, logRequests]])

Create a new server instance. All parameters have the same meaning as for SimpleXMLRPCServer.SimpleXMLRPCServer; requestHandler defaults to DocXMLRPCRequestHandler.

class DocCGIXMLRPCRequestHandler( )

Create a new instance to handle XML-RPC requests in a CGI environment.

class 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.


Subsections
See About this document... for information on suggesting changes.