ClassInterface Zend_Http_Client_Adapter_Interface

Description

An interface description for Zend_Http_Client_Adapter classes.

These classes are used as connectors for Zend_Http_Client, performing the tasks of connecting, writing, reading and closing connection to the server.

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Http/Client/Adapter/Interface.php (line 36)


	
			
Method Summary
 void close ()
 void connect (string $host, [int $port = 80], [boolean $secure = false])
 string read ()
 void setConfig ([array $config = array()])
 string write (string $method, Zend_Uri_Http $url, [string $http_ver = '1.1'], [array $headers = array()], [string $body = ''])
Methods
close (line 77)

Close the connection to the server

  • access: public
void close ()
connect (line 52)

Connect to the remote server

  • access: public
void connect (string $host, [int $port = 80], [boolean $secure = false])
  • string $host
  • int $port
  • boolean $secure
read (line 71)

Read response from server

  • access: public
string read ()
setConfig (line 43)

Set the configuration array for the adapter

  • access: public
void setConfig ([array $config = array()])
  • array $config
write (line 64)

Send request to the remote server

  • return: Request as text
  • access: public
string write (string $method, Zend_Uri_Http $url, [string $http_ver = '1.1'], [array $headers = array()], [string $body = ''])
  • string $method
  • Zend_Uri_Http $url
  • string $http_ver
  • array $headers
  • string $body

Documentation generated on Mon, 21 Jun 2010 15:29:25 -0400 by phpDocumentor 1.4.3