summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-07 11:16:16 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-07 11:16:16 +0100
commitd192953eb39845623811486a28b777b3dda93b5c (patch)
tree197db8f365ef54c12bc45b6f60760880d65d842b /user_guide_src
parent9f387e7b756fc4d063a769338af6dc4ee89bc061 (diff)
Add basic HTTP auth info to the XML-RPC docs
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/libraries/xmlrpc.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/xmlrpc.rst b/user_guide_src/source/libraries/xmlrpc.rst
index c89c69c46..91d832ff6 100644
--- a/user_guide_src/source/libraries/xmlrpc.rst
+++ b/user_guide_src/source/libraries/xmlrpc.rst
@@ -476,6 +476,10 @@ Class Reference
$this->xmlrpc->server('http://www.sometimes.com/pings.php', 80);
+ Basic HTTP authentication is also supported, simply add it to the server URL::
+
+ $this->xmlrpc->server('http://user:pass@localhost/', 80);
+
.. method:: timeout($seconds = 5)
:param int $seconds: timeout in seconds