Questions about End-user Documentation of the package XML_RPC
| From: | Jan Jonas | Date: | Wed, 28 Jul 2004 21:51:21 +0000 |
| Subject: | Questions about End-user Documentation of the package XML_RPC | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-32340@lists.php.net to get a copy of this message | ||
In the end-user documentation (link: http://pear.php.net/manual/en/package.webservices.xml-rpc.api.php) i read about connecting to a XML_RPC-Server with https
Quote:
$response = $client->send ($xmlrpc_message, $timeout, $server_method)
Where $xmlrpc_message is an instance of XML_RPC_Message and $response is an instance of XML_RPC_Response (see XML_RPC_Response).
The $timeout is optional, and will be set to 0 (wait forever) if omitted. This timeout value is passed to fsockopen().
The server_method parameter is optional, and if omitted will default to 'http'. The only other valid value is 'https', which will use an SSL HTTP connection to connect to the remote server.....
The problem is, that the send-method() doesn't have a third parameter $server_method like described in the documentation?! So how can i connect to a server with https with the XML_PRC-class?
Regards
Jan