Developpez.com

Python

Choisissez la catégorie, puis la rubrique :

18.26.1 DocXMLRPCServer Objects


18.26.1 DocXMLRPCServer Objects

The DocXMLRPCServer class is derived from SimpleXMLRPCServer.SimpleXMLRPCServer and provides a means of creating self-documenting, stand alone XML-RPC servers. HTTP POST requests are handled as XML-RPC method calls. HTTP GET requests are handled by generating pydoc-style HTML documentation. This allows a server to provide its own web-based documentation.

set_server_title( server_title)

Set the title used in the generated HTML documentation. This title will be used inside the HTML "title" element.

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.

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.

See About this document... for information on suggesting changes.
Python est sacré langage de programmation de l'année 2018 selon l'index TIOBE
Java, JavaScript et C++ ont été les langages les plus demandés en entreprise ces 9 derniers mois
Microsoft dévoile en open source Pyright, un vérificateur de type statique
Apprendre 23 principes pour écrire du code lisible, un tutoriel d'Artur Smiarowski
Contacter le responsable de la rubrique Python

Partenaire : Hébergement Web