Specifies basic authentication for an http connection
void
setAuthorization
(string $user, string $password)
-
string
$user: The user name
-
string
$password: The password
Specifies the parameters of the http conection used to obtain the xml data
void
setConnection
(string $host, [string $path = '/'], [int $port = 80], int $timeout, [string $user = null], [string $password = null])
-
string
$host: The ip address or domain name of the connection
-
string
$path: The path of the connection
-
int
$port: The port that the connection is listening on
-
int
$timeout: The timeout value for the connection
-
string
$user: The user name, if authentication is required
-
string
$password: The password, if authentication is required
Specifies basic authentication for the proxy
void
setProxyAuthorization
(string $user, string $password)
-
string
$user: The user name
-
string
$password: The password
Specifies that a proxy is to be used to obtain the data
void
setProxyConnection
(string $host, [string $path = '/'], [int $port = 80], int $timeout, [string $user = null], [string $password = null])
-
string
$host: The ip address or domain name of the proxy
-
string
$path: The path to the proxy
-
int
$port: The port that the proxy is listening on
-
int
$timeout: The timeout value for the connection
-
string
$user: The user name, if authentication is required
-
string
$password: The password, if authentication is required