summaryrefslogtreecommitdiff
path: root/zend/documentation/api/core/files/Gdata.App.LoggingHttpClientAdapterSocket.html
diff options
context:
space:
mode:
authorHorus32014-02-24 16:42:14 +0100
committerHorus32014-02-24 16:42:14 +0100
commit06f945f27840b53e57795dadbc38e76f7e11ab1c (patch)
tree689d5c7f4ffa15460c7e90f47c6a7dd59ce4e8bd /zend/documentation/api/core/files/Gdata.App.LoggingHttpClientAdapterSocket.html
downloadrandom-06f945f27840b53e57795dadbc38e76f7e11ab1c.tar.gz
init
Diffstat (limited to 'zend/documentation/api/core/files/Gdata.App.LoggingHttpClientAdapterSocket.html')
-rw-r--r--zend/documentation/api/core/files/Gdata.App.LoggingHttpClientAdapterSocket.html82
1 files changed, 82 insertions, 0 deletions
diff --git a/zend/documentation/api/core/files/Gdata.App.LoggingHttpClientAdapterSocket.html b/zend/documentation/api/core/files/Gdata.App.LoggingHttpClientAdapterSocket.html
new file mode 100644
index 0000000..10b9cd1
--- /dev/null
+++ b/zend/documentation/api/core/files/Gdata.App.LoggingHttpClientAdapterSocket.html
@@ -0,0 +1,82 @@
+<!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">Gdata/App/LoggingHttpClientAdapterSocket.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_Gdata_App_LoggingHttpClientAdapterSocket">\Zend_Gdata_App_LoggingHttpClientAdapterSocket</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_Gdata
+  
+ </dd><dt>Subpackage</dt><dd>App
+  
+ </dd><dt>Version</dt><dd>$Id: LoggingHttpClientAdapterSocket.php 24593 2012-01-05 20:35:02Z matthew $
+  
+ </dd></dl><a name="classes" class="anchor"></a><a id="\Zend_Gdata_App_LoggingHttpClientAdapterSocket" class="anchor"></a><h2 class="class">\Zend_Gdata_App_LoggingHttpClientAdapterSocket<div class="to-top"><a href="#top">jump to top</a></div></h2><div class="class"><small class="package"><b>Package: </b>Zend\Gdata\App</small><div class="short-description">Overrides the traditional socket-based adapter class for Zend_Http_Client to
+enable logging of requests.</div><div class="long-description"><p>All requests are logged to a location specified
+in the config as $config['logfile']. Requests and responses are logged after
+they are sent and received/processed, thus an error could prevent logging.</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>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_Gdata_App_LoggingHttpClientAdapterSocket::$_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_Gdata_App_LoggingHttpClientAdapterSocket::$config" 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">$config</span> = array('persistent' =&gt; false, 'ssltransport' =&gt; 'ssl', 'sslcert' =&gt; null, 'sslpassphrase' =&gt; null, 'sslusecontext' =&gt; false)</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Parameters array</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::$$config">\Zend_Http_Client_Adapter_Socket::$$config</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array('persistent' =&gt; false, 'ssltransport' =&gt; 'ssl', 'sslcert' =&gt; null, 'sslpassphrase' =&gt; null, 'sslusecontext' =&gt; false)</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::$$config">\Zend_Http_Client_Adapter_Socket::$$config</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_App_LoggingHttpClientAdapterSocket::$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_Gdata_App_LoggingHttpClientAdapterSocket::$log_handle" 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>resource|null <span class="highlight">$log_handle</span> = null</code><div class="description"><div class="short-description">The file handle for writing logs</div></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></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_App_LoggingHttpClientAdapterSocket::$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_Gdata_App_LoggingHttpClientAdapterSocket::$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_Gdata_App_LoggingHttpClientAdapterSocket::$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_Gdata_App_LoggingHttpClientAdapterSocket::__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_Gdata_App_LoggingHttpClientAdapterSocket::__destruct()" 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">__destruct</span><span class="nb-faded-text">()</span> : void</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Destructor: make sure the socket is disconnected</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.Adapter.Socket.html#\Zend_Http_Client_Adapter_Socket::__destruct()">\Zend_Http_Client_Adapter_Socket::__destruct()</a></small></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_Gdata_App_LoggingHttpClientAdapterSocket::_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_Gdata_App_LoggingHttpClientAdapterSocket::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_Gdata_App_LoggingHttpClientAdapterSocket::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"></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_Gdata_App_LoggingHttpClientAdapterSocket::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_Gdata_App_LoggingHttpClientAdapterSocket::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_Gdata_App_LoggingHttpClientAdapterSocket::log()" 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">log</span><span class="nb-faded-text">(string $message)</span> : void</code><div class="description"><p class="short_description">Log the given message to the log file.</p></div><div class="code-tabs"><div class="long-description"><p>The log file is configured
+as the config param 'logfile'. This method opens the file for
+writing if necessary.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$message</th><td>string</td><td><em><p>The message to log</p></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_App_LoggingHttpClientAdapterSocket::read()" 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">read</span><span class="nb-faded-text">()</span> : string</code><div class="description"><p class="short_description">Read response from server</p></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_Gdata_App_LoggingHttpClientAdapterSocket::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_Gdata_App_LoggingHttpClientAdapterSocket::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_Gdata_App_LoggingHttpClientAdapterSocket::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_Gdata_App_LoggingHttpClientAdapterSocket::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 remote 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></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>