Zend Framework
1.12
|
Public Member Functions | |
setConfig ($config=array()) | |
Set the configuration array for the adapter. | |
connect ($host, $port=80, $secure=false) | |
Connect to the remote server. | |
write ($method, $url, $http_ver= '1.1', $headers=array(), $body= '') | |
Send request to the remote server. | |
read () | |
Read response from server. | |
close () | |
Close the connection to the server. | |
close | ( | ) |
Close the connection to the server.
Implemented in Zend_Http_Client_Adapter_Socket, Zend_Http_Client_Adapter_Curl, Zend_Http_Client_Adapter_Proxy, Zend_Http_Client_Adapter_Test, and Zend_Gdata_App_LoggingHttpClientAdapterSocket.
connect | ( | $host, | |
$port = 80 , |
|||
$secure = false |
|||
) |
Connect to the remote server.
string | $host | |
int | $port | |
boolean | $secure |
Implemented in Zend_Http_Client_Adapter_Curl, Zend_Http_Client_Adapter_Socket, Zend_Http_Client_Adapter_Test, Zend_Http_Client_Adapter_Proxy, and Zend_Gdata_App_LoggingHttpClientAdapterSocket.
read | ( | ) |
Read response from server.
Implemented in Zend_Http_Client_Adapter_Curl, Zend_Http_Client_Adapter_Socket, Zend_Http_Client_Adapter_Test, and Zend_Gdata_App_LoggingHttpClientAdapterSocket.
setConfig | ( | $config = array() | ) |
Set the configuration array for the adapter.
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.
string | $method | |
Zend_Uri_Http | $url | |
string | $http_ver | |
array | $headers | |
string | $body |
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.