Zend Framework  1.12
Public Member Functions | Public Attributes | List of all members
Zend_Gdata_HttpAdapterStreamingProxy Class Reference

Public Member Functions

 write ($method, $uri, $http_ver= '1.1', $headers=array(), $body= '')
 Send request to the proxy server with streaming support.
 
- Public Member Functions inherited from Zend_Http_Client_Adapter_Proxy
 connect ($host, $port=80, $secure=false)
 Connect to the remote server.
 
 write ($method, $uri, $http_ver= '1.1', $headers=array(), $body= '')
 Send request to the proxy server.
 
 close ()
 Close the connection to the server.
 
 __destruct ()
 Destructor: make sure the socket is disconnected.
 
- Public Member Functions inherited from Zend_Http_Client_Adapter_Socket
 __construct ()
 Adapter constructor, currently empty.
 
 setConfig ($config=array())
 Set the configuration array for the adapter.
 
 getConfig ()
 Retrieve the array of all configuration options.
 
 setStreamContext ($context)
 Set the stream context for the TCP connection to the server.
 
 getStreamContext ()
 Get the stream context for the TCP connection to the server.
 
 connect ($host, $port=80, $secure=false)
 Connect to the remote server.
 
 write ($method, $uri, $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.
 
 setOutputStream ($stream)
 Set output stream for the response.
 
 __destruct ()
 Destructor: make sure the socket is disconnected.
 

Public Attributes

const CHUNK_SIZE = 1024
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Http_Client_Adapter_Proxy
 connectHandshake ($host, $port=443, $http_ver= '1.1', array &$headers=array())
 Preform handshaking with HTTPS proxy using CONNECT method.
 
- Protected Attributes inherited from Zend_Http_Client_Adapter_Proxy
 $config
 
 $negotiated = false
 
 $connectHandshakeRequest
 

Member Function Documentation

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

Send request to the proxy server with streaming support.

Parameters
string$method
Zend_Uri_Http$uri
string$http_ver
array$headers
string$body
Returns
string Request as string

Implements Zend_Http_Client_Adapter_Interface.

Member Data Documentation

const CHUNK_SIZE = 1024