[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/includes/domit/ -> php_http_proxy.php (sommaire)

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
Poids: 78 lignes (3 kb)
Inclus ou requis: 4 fois
Référencé: 0 fois
Nécessite: 1 fichier
 includes/domit/php_http_client_generic.php

Définit 1 class

php_http_proxy:: (5 méthodes):
  php_http_proxy()
  setTimeout()
  setHeaders()
  setProxyAuthorization()
  get_custom()


Classe: 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



Généré le : Wed Nov 21 14:43:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics