From d192953eb39845623811486a28b777b3dda93b5c Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Tue, 7 Jan 2014 12:16:16 +0200 Subject: Add basic HTTP auth info to the XML-RPC docs --- user_guide_src/source/libraries/xmlrpc.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'user_guide_src') 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 -- cgit v1.2.3-24-g4f1b