| [ 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_proxy represents a basic http proxy
| 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: | 78 lines (2 kb) |
| Included or required: | 4 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file libraries/domit/php_http_client_generic.php |
php_http_proxy:: (5 methods):
php_http_proxy()
setTimeout()
setHeaders()
setProxyAuthorization()
get_custom()
Class: php_http_proxy - X-Ref
An HTTP Proxy class| php_http_proxy($host, $path = '/', $port = 80, $timeout = 0) X-Ref |
| HTTP Proxy constructor param: string The client connection host name, with or without its protocol prefix param: string The client connection path, not including the host name param: int The port to establish the client connection on param: int The timeout value for the client connection |
| setTimeout($timeout) X-Ref |
| Sets the proxy timeout to the specified value param: int The timeout value for the client connection |
| setHeaders() X-Ref |
| Sets the proxy headers |
| setProxyAuthorization($user, $password) X-Ref |
| Specifies a user name and password for basic proxy authentication param: string The user name for proxy authentication param: string The password for proxy authentication |
| get_custom($filename) X-Ref |
| Handler for customizing the HTTP GET call param: string The target url |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |