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