CI_Xmlrpc::server()

server($url[, $port = 80[, $proxy = FALSE[, $proxy_port = 8080]]])

Parameters:
  • $url (string) – XML-RPC server URL
  • $port (int) – Server port
  • $proxy (string) – Optional proxy
  • $proxy_port (int) – Proxy listening port
Return type:

void

Sets the URL and port number of the server to which a request is to be sent:

$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:[email protected]/', 80);
doc_CodeIgniter
2016-10-15 16:32:07
Comments
Leave a Comment

Please login to continue.