Class httpconnection

Description

Located in /httpconnection.class.php (line 16)

tcpconnection
   |
   --httpconnection
Direct descendents
Class Description
paypalipn
paypal
Method Summary
httpconnection __construct (string $httphost, [int $httpport = 80], [bool $ssl = false], [mixed $proxyhost = false], [int $proxyport = 3128], [string $useragent = 'PHP/ReptilerHTTPClass'])
array get ([string $uri = '/'], [array $parameters = array()], [array $cookies = array()], [string $authuser = ''], [string $authpassword = ''])
array head ([string $uri = '/'], [array $parameters = array()], [array $cookies = array()], [string $authuser = ''], [string $authpassword = ''])
array post ([string $uri = '/'], [array $parameters = array()], [array $cookies = array()], [array $fileparameters = array()], [array $mimetypes = array()], [string $authuser = ''], [string $authpassword = ''])
Variables
Methods
Constructor __construct (line 59)

Constructor

  • access: public
httpconnection __construct (string $httphost, [int $httpport = 80], [bool $ssl = false], [mixed $proxyhost = false], [int $proxyport = 3128], [string $useragent = 'PHP/ReptilerHTTPClass'])
  • string $httphost
  • int $httpport
  • bool $ssl
  • mixed $proxyhost
  • int $proxyport
  • string $useragent

Redefinition of:
tcpconnection::__construct()
Constructor

Redefined in descendants as:
get (line 341)

Send a GET-request.

  • access: public
array get ([string $uri = '/'], [array $parameters = array()], [array $cookies = array()], [string $authuser = ''], [string $authpassword = ''])
  • string $uri
  • array $parameters
  • array $cookies
  • string $authuser
  • string $authpassword
head (line 273)

Send a HEAD-request.

  • access: public
array head ([string $uri = '/'], [array $parameters = array()], [array $cookies = array()], [string $authuser = ''], [string $authpassword = ''])
  • string $uri
  • array $parameters
  • array $cookies
  • string $authuser
  • string $authpassword
post (line 411)

Send a POST-request.

  • access: public
array post ([string $uri = '/'], [array $parameters = array()], [array $cookies = array()], [array $fileparameters = array()], [array $mimetypes = array()], [string $authuser = ''], [string $authpassword = ''])
  • string $uri
  • array $parameters
  • array $cookies
  • array $fileparameters
  • array $mimetypes
  • string $authuser
  • string $authpassword

Inherited Methods

Inherited From tcpconnection

tcpconnection::__construct()
tcpconnection::connect()
tcpconnection::connected()
tcpconnection::disconnect()
tcpconnection::read()
tcpconnection::readbytes()
tcpconnection::readline()
tcpconnection::setblocking()
tcpconnection::settimeout()
tcpconnection::write()

Documentation generated on Thu, 12 Mar 2009 16:30:22 +0800 by phpDocumentor 1.4.2