## Interface 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.

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

Located in /Zend/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 Wed, 21 Feb 2007 11:52:15 -0800 by phpDocumentor 1.3.1