[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

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

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

Définit 1 class

php_http_connector:: (4 méthodes):
  setConnection()
  setAuthorization()
  setProxyConnection()
  setProxyAuthorization()


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



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