Zend_Http_Client_Adapter_Curl::write
Send request to the remote server
Signature
public function write(string
$method,
Zend_Uri_Http
$uri,
[float
$httpVersion = 1.1,
[array
$headers = ,
[string
$body = '']]] )
Parameters
$method
—
string
$uri
—
object
$httpVersion
—
float
$headers
—
array
$body
—
string
Returns
- string
- $request
Errors/Exceptions
-
Zend_Http_Client_Adapter_Exception
- If connection fails, connected to wrong host, no PUT file defined, unsupported method, or unsupported cURL option
Defined by Interface
Zend_Http_Client_Adapter_Interface