Zend_Http_Client_Adapter_SocketImplements interfaces:
A sockets based (fsockopen) adapter class for Zend_Http_Client. Can be used on almost every PHP environment, and does not require any special extensions.
Located in /Zend/Http/Client/Adapter/Socket.php (line 38)
| Class | Description |
|---|---|
Zend_Http_Client_Adapter_Proxy
|
HTTP Proxy-supporting Zend_Http_Client adapter class, based on the default socket based adapter. |
string
write
(string $method, Zend_Uri_Http $uri, [string $http_ver = '1.1'], [array $headers = array()], [string $body = ''])
array
$config
= array(Parameters array
array
$connected_to
= array(null, null) (line 52)
What host/port are we connected to?
string
$method
= null (line 68)
Request method - will be set by write() and might be used by read()
resource|null
$socket
= null (line 45)
The socket for server connection
Constructor __construct (line 74)
Adapter constructor, currently empty. Config is set using setConfig()
Destructor __destruct (line 281)
Destructor: make sure the socket is disconnected
close (line 270)
Close the connection to the server
connect (line 102)
Connect to the remote server
read (line 180)
Read response from server
setConfig (line 83)
Set the configuration array for the adapter
write (line 141)
Send request to the remote server
Documentation generated on Wed, 21 Feb 2007 12:00:01 -0800 by phpDocumentor 1.3.1