Moodle  2.2.1
http://www.collinsharper.com
Zend_Http_Client_Adapter_Interface Interface Reference
Inheritance diagram for Zend_Http_Client_Adapter_Interface:

Public Member Functions

 setConfig ($config=array())
 connect ($host, $port=80, $secure=false)
 write ($method, $url, $http_ver= '1.1', $headers=array(), $body= '')
 read ()
 close ()

Detailed Description

Definition at line 36 of file Interface.php.


Member Function Documentation

connect ( host,
port = 80,
secure = false 
)
setConfig ( config = array())

Set the configuration array for the adapter

Parameters:
array$config

Implemented in Zend_Http_Client_Adapter_Curl, Zend_Http_Client_Adapter_Socket, and Zend_Http_Client_Adapter_Test.

write ( method,
url,
http_ver = '1.1',
headers = array(),
body = '' 
)

Send request to the remote server

Parameters:
string$method
Zend_Uri_Http$url
string$http_ver
array$headers
string$body
Returns:
string Request as text

Implemented in Zend_Http_Client_Adapter_Curl, Zend_Http_Client_Adapter_Socket, Zend_Http_Client_Adapter_Test, Zend_Http_Client_Adapter_Proxy, Zend_Gdata_App_LoggingHttpClientAdapterSocket, Zend_Gdata_HttpAdapterStreamingSocket, and Zend_Gdata_HttpAdapterStreamingProxy.


The documentation for this interface was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations