/** * Constructor * @param string $server URL of the Server to connect to * @since 0.1.0 */ public function __construct($server, $path = false, $port = 443, $timeout = false) { parent::__construct($server, $path, $port); $this->useragent = 'The Incutio XML-RPC PHP Library for SSL'; //Set class fields $this->_certFile = false; $this->_caFile = false; $this->_keyFile = false; $this->_passphrase = ''; //Since 23Jun2004 (0.1.2) - Made timeout a class field //and changed default from 5s to 15s if (!$timeout) { $this->timeout = 3600; } else { $this->timeout = $timeout; } $timestamp = strftime("%y-%m-%d_%H-%M-%S", time()); $this->debug_file = _ABSPATH . "/logs/xml-rpc-debug-" . $timestamp . '-' . mt_rand(0, 10000) . '.log'; }
function __construct($server, $path = false, $port = 80, $timeout = false) { parent::__construct($server, $path, $port, $timeout); }
/** * @param string $server * @param string|bool $path * @param int $port */ function __construct($server, $path = false, $port = 80) { parent::__construct($server, $path, $port); //$this->useragent = 'The Incutio XML-RPC PHP Library (multicall client)'; }