Class php_http_connector

Description

A helper class for establishing HTTP connections

Located in /includes/domit/php_http_connector.php (line 24)


	
			
Direct descendents
Class Description
php_text_cache A simple caching class for saving/retrieving local copies of url data
Variable Summary
object A $httpConnection
Method Summary
void setAuthorization (string $user, string $password)
void setConnection (string $host, [string $path = '/'], [int $port = 80], int $timeout, [string $user = null], [string $password = null])
void setProxyAuthorization (string $user, string $password)
void setProxyConnection (string $host, [string $path = '/'], [int $port = 80], int $timeout, [string $user = null], [string $password = null])
Variables
object A $httpConnection = null (line 26)
  • var: reference to a http connection or proxy, if one is required
Methods
setAuthorization (line 48)

Specifies basic authentication for an http connection

void setAuthorization (string $user, string $password)
  • string $user: The user name
  • string $password: The password
setConnection (line 37)

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
setProxyAuthorization (line 72)

Specifies basic authentication for the proxy

void setProxyAuthorization (string $user, string $password)
  • string $user: The user name
  • string $password: The password
setProxyConnection (line 61)

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

Documentation generated on Fri, 4 Mar 2005 13:57:08 +1000 by phpDocumentor 1.3.0RC3