## Zend_Http_Client

Description

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

Located in /Zend/Http/Client.php (line 36)

    Zend_Http_Client_Abstract
       |
       --Zend_Http_Client

Method Summary
void __construct ([string|Zend_Uri|null $uri = null], [array $headers = array()])
Zend_Http_Response delete ()
Zend_Http_Response get ([int $redirectMax = 5])
Zend_Http_Response post (string $data)
Zend_Http_Response put (string $data)
resource _openConnection ()
Zend_Http_Response _read (Resource $socket)
Variables

#### Inherited Variables

Inherited from Zend_Http_Client_Abstract

> Zend_Http_Client_Abstract::$_headers
> Zend_Http_Client_Abstract::$_timeout
> Zend_Http_Client_Abstract::$_uri

Methods
Constructor __construct (line 45)

Class Constructor, create and validate Zend_Uri object

- access: public

void __construct ([string|Zend_Uri|null $uri = null], [array $headers = array()])

- string|Zend_Uri|null $uri
- array $headers

Redefinition of:

Zend_Http_Client_Abstract::__construct()
  Class Constructor, create and validate Zend_Uri object

delete (line 185)

Send a DELETE HTTP Request

- access: public

Zend_Http_Response delete ()

Redefinition of:

Zend_Http_Client_Abstract::delete()
  Send a DELETE HTTP Request

get (line 63)

Send a GET HTTP Request

- access: public

Zend_Http_Response get ([int $redirectMax = 5])

- int $redirectMax: Maximum number of HTTP redirections followed

Redefinition of:

Zend_Http_Client_Abstract::get()
  Send a GET HTTP Request

post (line 140)

Send a POST HTTP Request

- access: public

Zend_Http_Response post (string $data)

- string $data: Data to send in the request

Redefinition of:

Zend_Http_Client_Abstract::post()
  Send a POST HTTP Request

put (line 163)

Send a PUT HTTP Request

- access: public

Zend_Http_Response put (string $data)

- string $data: Data to send in the request

Redefinition of:

Zend_Http_Client_Abstract::put()
  Send a PUT HTTP Request

_openConnection (line 207)

Open a TCP connection for our HTTP/SSL request.

- return: Socket Resource
- access: protected
- throws: Zend_Http_Client_Exception

resource _openConnection ()
_read (line 231)

Read Data from the Socket

- access: protected

Zend_Http_Response _read (Resource $socket)

- Resource $socket: Socket returned by {@see Zend_Http_Client::_openConnection()}

#### Inherited Methods

Inherited From Zend_Http_Client_Abstract

> Zend_Http_Client_Abstract::__construct()
> Zend_Http_Client_Abstract::delete()
> Zend_Http_Client_Abstract::get()
> Zend_Http_Client_Abstract::getUri()
> Zend_Http_Client_Abstract::post()
> Zend_Http_Client_Abstract::put()
> Zend_Http_Client_Abstract::setHeaders()
> Zend_Http_Client_Abstract::setTimeout()
> Zend_Http_Client_Abstract::setUri()
> Zend_Http_Client_Abstract::validateHeaders()

Documentation generated on Tue, 11 Jul 2006 12:16:41 -0500 by phpDocumentor 1.3.0RC6