Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Extends the default HTTP adapter to handle streams instead of discrete body strings.

write(
string $method, \Zend_Uri_Http $uri, string $http_ver
=
'1.1', array $headers
=
array(), string $body
=
''
)
:
stringSend request to the remote server with streaming support.
| Name | Type | Description |
|---|---|---|
| $method | string | |
| $uri | \Zend_Uri_Http | |
| $http_ver | string | |
| $headers | array | |
| $body | string |
| Type | Description |
|---|---|
| string | Request as string |