summaryrefslogtreecommitdiff
path: root/zend/documentation/api/core/files/Http.Client.Adapter.Proxy.html
diff options
context:
space:
mode:
Diffstat (limited to 'zend/documentation/api/core/files/Http.Client.Adapter.Proxy.html')
-rw-r--r--zend/documentation/api/core/files/Http.Client.Adapter.Proxy.html78
1 files changed, 78 insertions, 0 deletions
diff --git a/zend/documentation/api/core/files/Http.Client.Adapter.Proxy.html b/zend/documentation/api/core/files/Http.Client.Adapter.Proxy.html
new file mode 100644
index 0000000..808078f
--- /dev/null
+++ b/zend/documentation/api/core/files/Http.Client.Adapter.Proxy.html
@@ -0,0 +1,78 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Zend Gdata API Documentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="../css/template.css" type="text/css"></link><script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../js/jquery.tools.min.js"></script><script type="text/javascript" src="../js/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../js/template.js"></script></head><body><div id="content"><h1 class="file">Http/Client/Adapter/Proxy.php</h1><div id="file-nav-box"><div id="file-nav-options">
+ Show:
+ <img src="../images/icons/visibility_public.png" alt="Public" id="show-public"></img><img src="../images/icons/visibility_protected.png" alt="Protected" id="show-protected"></img><img src="../images/icons/visibility_private.png" alt="Private" id="show-private"></img><span class="attribute" id="show-inherited">inherited</span></div><div id="file-nav-container"><ul id="file-nav"><li><a href="#classes"><img src="../images/icons/class.png" alt="Class" height="14"></img>
+ Classes
+ </a><ul><li><a href="#\Zend_Http_Client_Adapter_Proxy">\Zend_Http_Client_Adapter_Proxy</a></li></ul></li></ul><div style="clear: left;"></div></div><div id="file-nav-tab">
+ Table of Contents
+ </div></div><a name="top" class="anchor"></a><div id="file-description"><div class="short-description">Zend Framework</div><div class="long-description"><p>LICENSE</p>
+
+<p>This source file is subject to the new BSD license that is bundled
+with this package in the file LICENSE.txt.
+It is also available through the world-wide-web at this URL:
+http://framework.zend.com/license/new-bsd
+If you did not receive a copy of the license and are unable to
+obtain it through the world-wide-web, please send an email
+to license@zend.com so we can send you a copy immediately.</p></div></div><dl class="file-info"><dt>Category</dt><dd>Zend
+  
+ </dd><dt>Copyright</dt><dd>Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+  
+ </dd><dt>License</dt><dd><a href="http://framework.zend.com/license/new-bsd">New BSD License</a>
+  
+ </dd><dt>Package</dt><dd>Zend_Http
+  
+ </dd><dt>Subpackage</dt><dd>Client_Adapter
+  
+ </dd><dt>Version</dt><dd>$Id: Proxy.php 25273 2013-03-06 08:02:21Z frosch $
+  
+ </dd></dl><a name="classes" class="anchor"></a><a id="\Zend_Http_Client_Adapter_Proxy" class="anchor"></a><h2 class="class">\Zend_Http_Client_Adapter_Proxy<div class="to-top"><a href="#top">jump to top</a></div></h2><div class="class"><small class="package"><b>Package: </b>Zend\Http\Client\Adapter</small><div class="short-description">HTTP Proxy-supporting Zend_Http_Client adapter class, based on the default
+socket based adapter.</div><div class="long-description"><p>Should be used if proxy HTTP access is required. If no proxy is set, will
+fall back to Zend_Http_Client_Adapter_Socket behavior. Just like the
+default Socket adapter, this adapter does not require any special extensions
+installed.</p></div><dl class="class-info"><dt>Parent(s)</dt><dd><a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket">\Zend_Http_Client_Adapter_Socket</a></dd><dt>Children</dt><dd><a href="../files/Gdata.HttpAdapterStreamingProxy.html#\Zend_Gdata_HttpAdapterStreamingProxy">\Zend_Gdata_HttpAdapterStreamingProxy</a></dd><dt>Category</dt><dd>Zend
+  
+ </dd><dt>Copyright</dt><dd>Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+  
+ </dd><dt>License</dt><dd><a href="http://framework.zend.com/license/new-bsd">New BSD License</a>
+  
+ </dd></dl><h3>Properties</h3><div><a id="\Zend_Http_Client_Adapter_Proxy::$_context" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>resource <span class="highlight">$_context</span> = null</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Stream context</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::$$_context">\Zend_Http_Client_Adapter_Socket::$$_context</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>resource</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::$$_context">\Zend_Http_Client_Adapter_Socket::$$_context</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::$config" class="anchor"></a><div class="property protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$config</span> = array('ssltransport' =&gt; 'ssl', 'sslcert' =&gt; null, 'sslpassphrase' =&gt; null, 'sslusecontext' =&gt; false, 'proxy_host' =&gt; '', 'proxy_port' =&gt; 8080, 'proxy_user' =&gt; '', 'proxy_pass' =&gt; '', 'proxy_auth' =&gt; \Zend_Http_Client::AUTH_BASIC, 'persistent' =&gt; false)</code><div class="description"><div class="short-description">Parameters array</div></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array('ssltransport' =&gt; 'ssl', 'sslcert' =&gt; null, 'sslpassphrase' =&gt; null, 'sslusecontext' =&gt; false, 'proxy_host' =&gt; '', 'proxy_port' =&gt; 8080, 'proxy_user' =&gt; '', 'proxy_pass' =&gt; '', 'proxy_auth' =&gt; \Zend_Http_Client::AUTH_BASIC, 'persistent' =&gt; false)</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd></dl></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::$connectHandshakeRequest" class="anchor"></a><div class="property protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>string <span class="highlight">$connectHandshakeRequest</span></code><div class="description"><div class="short-description">Stores the last CONNECT handshake request</div></div><div class="code-tabs"><div class="long-description"></div><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>string</dd></dl></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::$connected_to" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$connected_to</span> = array(null, null)</code><div class="description"><span class="attribute">inherited</span><div class="short-description">What host/port are we connected to?</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::$$connected_to">\Zend_Http_Client_Adapter_Socket::$$connected_to</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array(null, null)</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::$$connected_to">\Zend_Http_Client_Adapter_Socket::$$connected_to</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::$method" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>string <span class="highlight">$method</span> = null</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Request method - will be set by write() and might be used by read()</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::$$method">\Zend_Http_Client_Adapter_Socket::$$method</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>string</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::$$method">\Zend_Http_Client_Adapter_Socket::$$method</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::$negotiated" class="anchor"></a><div class="property protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>boolean <span class="highlight">$negotiated</span> = false</code><div class="description"><div class="short-description">Whether HTTPS CONNECT was already negotiated with the proxy or not</div></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>false</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>boolean</dd></dl></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::$out_stream" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>resource <span class="highlight">$out_stream</span> = null</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Stream for storing output</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::$$out_stream">\Zend_Http_Client_Adapter_Socket::$$out_stream</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>resource</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::$$out_stream">\Zend_Http_Client_Adapter_Socket::$$out_stream</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::$socket" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>resource|null <span class="highlight">$socket</span> = null</code><div class="description"><span class="attribute">inherited</span><div class="short-description">The socket for server connection</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::$$socket">\Zend_Http_Client_Adapter_Socket::$$socket</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>resource | null</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::$$socket">\Zend_Http_Client_Adapter_Socket::$$socket</a>
+  
+ </dd></dl></div><div class="clear"></div></div></div><h3>Methods</h3><div><a id="\Zend_Http_Client_Adapter_Proxy::__construct()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">__construct</span><span class="nb-faded-text">()</span> : void</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Adapter constructor, currently empty.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::__construct()">\Zend_Http_Client_Adapter_Socket::__construct()</a></small></div><div class="code-tabs"><div class="long-description"><p>Config is set using setConfig()</p></div></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::__destruct()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">__destruct</span><span class="nb-faded-text">()</span> : void</code><div class="description"><p class="short_description">Destructor: make sure the socket is disconnected</p></div><div class="code-tabs"><div class="long-description"><p>If we are in persistent TCP mode, will not close the connection</p></div></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::_checkSocketReadTimeout()" class="anchor"></a><div class="method protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_checkSocketReadTimeout</span><span class="nb-faded-text">()</span> : void</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Check if the socket has timed out - if so close connection and throw
+an exception</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::_checkSocketReadTimeout()">\Zend_Http_Client_Adapter_Socket::_checkSocketReadTimeout()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Adapter.Exception.html#\Zend_Http_Client_Adapter_Exception">\Zend_Http_Client_Adapter_Exception</a></td><td><em>with READ_TIMEOUT code</em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::close()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">close</span><span class="nb-faded-text">()</span> : void</code><div class="description"><p class="short_description">Close the connection to the server</p></div><div class="code-tabs"><div class="long-description"></div></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::connect()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">connect</span><span class="nb-faded-text">(string $host, int $port = 80, boolean $secure = false)</span> : void</code><div class="description"><p class="short_description">Connect to the remote server</p></div><div class="code-tabs"><div class="long-description"><p>Will try to connect to the proxy server. If no proxy was set, will
+fall back to the target server (behave like regular Socket adapter)</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$host</th><td>string</td><td><em></em></td></tr><tr><th>$port</th><td>int</td><td><em></em></td></tr><tr><th>$secure</th><td>boolean</td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::connectHandshake()" class="anchor"></a><div class="method protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">connectHandshake</span><span class="nb-faded-text">(string $host, integer $port = 443, string $http_ver = '1.1', array $headers = array())</span> : void</code><div class="description"><p class="short_description">Preform handshaking with HTTPS proxy using CONNECT method</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$host</th><td>string</td><td><em></em></td></tr><tr><th>$port</th><td>integer</td><td><em></em></td></tr><tr><th>$http_ver</th><td>string</td><td><em></em></td></tr><tr><th>$headers</th><td>array</td><td><em></em></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Adapter.Exception.html#\Zend_Http_Client_Adapter_Exception">\Zend_Http_Client_Adapter_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::getConfig()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getConfig</span><span class="nb-faded-text">()</span> : array</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Retrieve the array of all configuration options</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::getConfig()">\Zend_Http_Client_Adapter_Socket::getConfig()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::getStreamContext()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getStreamContext</span><span class="nb-faded-text">()</span> : resource</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Get the stream context for the TCP connection to the server.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::getStreamContext()">\Zend_Http_Client_Adapter_Socket::getStreamContext()</a></small></div><div class="code-tabs"><div class="long-description"><p>If no stream context is set, will create a default one.</p></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>resource</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::read()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">read</span><span class="nb-faded-text">()</span> : string</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Read response from server</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::read()">\Zend_Http_Client_Adapter_Socket::read()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::setConfig()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setConfig</span><span class="nb-faded-text">(\Zend_Config $config = array())</span> : void</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set the configuration array for the adapter</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::setConfig()">\Zend_Http_Client_Adapter_Socket::setConfig()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$config</th><td>\Zend_Config</td><td><em><p>| array $config</p>
+</em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::setOutputStream()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setOutputStream</span><span class="nb-faded-text">(resource $stream)</span> : <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket">\Zend_Http_Client_Adapter_Socket</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set output stream for the response</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::setOutputStream()">\Zend_Http_Client_Adapter_Socket::setOutputStream()</a></small></div><div class="code-tabs"><div class="long-description"><p>This function sets output stream where the result will be stored.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$stream</th><td>resource</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket">\Zend_Http_Client_Adapter_Socket</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::setStreamContext()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setStreamContext</span><span class="nb-faded-text">(mixed $context)</span> : <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket">\Zend_Http_Client_Adapter_Socket</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set the stream context for the TCP connection to the server</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::setStreamContext()">\Zend_Http_Client_Adapter_Socket::setStreamContext()</a></small></div><div class="code-tabs"><div class="long-description"><p>Can accept either a pre-existing stream context resource, or an array
+of stream options, similar to the options array passed to the
+stream_context_create() PHP function. In such case a new stream context
+will be created using the passed options.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$context</th><td>mixed</td><td><em><p>Stream context or array of context options</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket">\Zend_Http_Client_Adapter_Socket</a></td><td></td></tr></table><strong>Details</strong><dl class="function-info"><dt>Since</dt><dd>Zend Framework 1.9
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Http_Client_Adapter_Proxy::write()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">write</span><span class="nb-faded-text">(string $method, <a href="../files/Uri.Http.html#\Zend_Uri_Http">\Zend_Uri_Http</a> $uri, string $http_ver = '1.1', array $headers = array(), string $body = '')</span> : string</code><div class="description"><p class="short_description">Send request to the proxy server</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$method</th><td>string</td><td><em></em></td></tr><tr><th>$uri</th><td><a href="../files/Uri.Http.html#\Zend_Uri_Http">\Zend_Uri_Http</a></td><td><em></em></td></tr><tr><th>$http_ver</th><td>string</td><td><em></em></td></tr><tr><th>$headers</th><td>array</td><td><em></em></td></tr><tr><th>$body</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td>Request as string</td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Adapter.Exception.html#\Zend_Http_Client_Adapter_Exception">\Zend_Http_Client_Adapter_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div></div></div></div><small class="footer">
+ Documentation was generated by
+ <a href="http://phpdoc.org">phpDocumentor
+ 2.0.0a12</a>.
+ </small></body></html>