DocXMLRPCServer

The DocXMLRPCServer module provides an extended version of the functions in the XML-RPC server module SimpleXMLRPCServer. This module enhances an XML-RPC server with a documentation feature that responds to HTTP GET requests (normally sent by a browser). This gives XML-RPC servers a dual nature. If XML-RPC requests are made, they are handled normally. However, if you connect to the XML-RPC server with a browser, you will get a documentation page showing all the functions supported by the server.

						DocXMLRPCServer(addr
						[,
						requestHandler
						[,
						logRequest])

Creates a standalone XML-RPC server at socket address addr (for example, (‘localhost’,8080)). requestHandler is a factory function for creating request handler objects and defaults ...

Get Python: Essential Reference, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.