| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
PHP HTTP Tools is a library for working with the http protocol php_http_connector establishes http connections
| Author: | John Heinstein <johnkarl@nbnet.nb.ca> |
| Copyright: | (C) 2004 John Heinstein. All rights reserved |
| License: | http://www.gnu.org/copyleft/lesser.html LGPL License |
| Version: | 0.3 |
| File Size: | 77 lines (3 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 2 files libraries/domit/php_http_client_generic.php libraries/domit/php_http_proxy.php |
php_http_connector:: (4 methods):
setConnection()
setAuthorization()
setProxyConnection()
setProxyAuthorization()
Class: php_http_connector - X-Ref
A helper class for establishing HTTP connections| setConnection($host, $path = '/', $port = 80, $timeout = 0, $user = null, $password = null) X-Ref |
| Specifies the parameters of the http conection used to obtain the xml data param: string The ip address or domain name of the connection param: string The path of the connection param: int The port that the connection is listening on param: int The timeout value for the connection param: string The user name, if authentication is required param: string The password, if authentication is required |
| setAuthorization($user, $password) X-Ref |
| Specifies basic authentication for an http connection param: string The user name param: string The password |
| setProxyConnection($host, $path = '/', $port = 80, $timeout = 0, $user = null, $password = null) X-Ref |
| Specifies that a proxy is to be used to obtain the data param: string The ip address or domain name of the proxy param: string The path to the proxy param: int The port that the proxy is listening on param: int The timeout value for the connection param: string The user name, if authentication is required param: string The password, if authentication is required |
| setProxyAuthorization($user, $password) X-Ref |
| Specifies basic authentication for the proxy param: string The user name param: string The password |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |