We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa7e3f5 commit 5ec70beCopy full SHA for 5ec70be
docs/api.rst
@@ -3,7 +3,19 @@
3
XML-RPC API Documentation
4
=========================
5
6
-To use the XML-RPC interface, connect to supervisor's HTTP port
+
7
8
9
10
+To use the XML-RPC interface, first make sure it has been configured
11
+properly by specifying the rpcinterface_factory in your conf file:
12
13
+.. code-block:: ini
14
15
+ [rpcinterface:supervisor]
16
+ supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
17
18
+Then you can connect to supervisor's HTTP port
19
with any XML-RPC client library and run commands against it. An
20
example of doing this using Python's ``xmlrpclib`` client library
21
is as follows.
0 commit comments