Location: PHPKode > projects > Guzzle > guzzle.github.com-master/docs.html
<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
  
    <title>Guzzle | PHP HTTP client and framework for consuming RESTful web services &mdash; Guzzle 3.0.0 documentation</title>
  <link rel="stylesheet" type="text/css" href="_static/bootstrap.min.css" />
  <script type="text/javascript" src="_static/jquery-1.9.1.min.js.html"></script>
    
    <link rel="stylesheet" href="_static/guzzle.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '3.0.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="Guzzle 3.0.0 documentation" href="index.html" />
    <link rel="next" title="Welcome to Guzzle" href="getting-started/overview.html" />
    <link rel="prev" title="&lt;no title&gt;" href="index.html" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" type="text/css" href="_static/bootstrap-responsive.min.css" />
  
   

  </head>
  <body>
  <div class="navbar navbar-fixed-top ">
    <div class="navbar-inner">
      <div class="container">
        <a class="brand" href="index.html">Guzzle</a>
        <ul class="nav">
<li><a href="index.html">Home</a></li>
<li><a href="#">Docs</a></li>
<li><a href="http://guzzlephp.org/api/index.html">API</a></li>
<li><a href="https://github.com/guzzle/guzzle">GitHub</a></li>
<li><a href="https://groups.google.com/forum/?hl=en#!forum/guzzle">Forum</a></li>
<li><a href="https://packagist.org/packages/guzzle/guzzle">Packagist</a></li>
<li><a href="irc:irc.freenode.com/#guzzlephp">IRC</a></li>
        </ul>
        <div class="pull-right" id="github-stars">
          <iframe src="http://ghbtns.com/github-btn.html?user=guzzle&repo=guzzle&type=watch&count=true&size=small"
                  allowtransparency="true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
        </div>
      </div>
    </div>
  </div>
  

    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="getting-started/overview.html" title="Welcome to Guzzle"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="index.html" title="&lt;no title&gt;"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">Guzzle</a> &raquo;</li> 
      </ul>
    </div>
    <div class="container">
        
    <div class="top-links">
      <ul class="breadcrumb pull-right">
          <li><a href="getting-started/overview.html" title="next chapter (use the right arrow)">Welcome to Guzzle &rarr;</a></li>
      </ul>
    </div>
  
        <div class="document clearer">
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Guzzle Documentation</a><ul>
<li><a class="reference internal" href="#getting-started">Getting started</a></li>
<li><a class="reference internal" href="#the-http-client">The HTTP client</a></li>
<li><a class="reference internal" href="#plugins">Plugins</a></li>
<li><a class="reference internal" href="#the-web-service-client">The web service client</a></li>
<li><a class="reference internal" href="#testing">Testing</a></li>
</ul>
</li>
</ul>
<div class="hidden-phone">
  <h3>Need help?</h3>
  <p>Please post to our google group or #guzzlephp IRC channel on freenode if you need support or have a technical
  question.</p>
</div>
<div class="hidden-phone">
  <h3>Found an error?</h3>
  <p>If you find an error in the documentation, please file a ticket or submit a pull request on
  <a href="https://github.com/guzzle/guzzle">GitHub</a></p>
</div>
<div id="searchbox" style="display: none">
    <h3>Quick search</h3>
    <form class="form-search margin-top-1em" action="search.html" method="get">
        <input type="text" name="q" style="width: 105px" class="input-small search-query" />
        <button type="submit" class="btn btn-small">Search</button>
        <input type="hidden" name="check_keywords" value="yes" />
        <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
            <div class="body">
              
  <div class="toctree-wrapper compound">
</div>
<div class="section" id="guzzle-documentation">
<h1>Guzzle Documentation<a class="headerlink" href="#guzzle-documentation" title="Permalink to this headline">¶</a></h1>
<div class="section" id="getting-started">
<h2>Getting started<a class="headerlink" href="#getting-started" title="Permalink to this headline">¶</a></h2>
<table class="two-column table table-bordered">
<colgroup>
<col width="50%" />
<col width="50%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="getting-started/overview.html"><em>Welcome to Guzzle</em></a></td>
<td><a class="reference internal" href="getting-started/installation.html"><em>Installation</em></a></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="getting-started/faq.html"><em>FAQ</em></a></td>
<td><a class="reference external" href="http://guzzlephp.org/api/index.html">Read the API docs</a></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="the-http-client">
<h2>The HTTP client<a class="headerlink" href="#the-http-client" title="Permalink to this headline">¶</a></h2>
<table class="two-column table table-bordered">
<colgroup>
<col width="50%" />
<col width="50%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="http-client/client.html"><em>The Guzzle HTTP client</em></a></td>
<td><a class="reference internal" href="http-client/request.html"><em>Using Request objects</em></a></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="http-client/response.html"><em>Using Response objects</em></a></td>
<td><a class="reference internal" href="http-client/entity-bodies.html"><em>Request and response bodies</em></a></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="http-client/http-redirects.html"><em>HTTP redirects</em></a></td>
<td><a class="reference internal" href="http-client/uri-templates.html"><em>URI templates</em></a></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="plugins">
<h2>Plugins<a class="headerlink" href="#plugins" title="Permalink to this headline">¶</a></h2>
<table class="two-column table table-bordered">
<colgroup>
<col width="50%" />
<col width="50%" />
</colgroup>
<tbody valign="top">
<tr class="row-even"><td><a class="reference internal" href="plugins/plugins-overview.html"><em>Plugin system overview</em></a></td>
<td><a class="reference internal" href="plugins/creating-plugins.html"><em>Creating plugins</em></a></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="the-web-service-client">
<h2>The web service client<a class="headerlink" href="#the-web-service-client" title="Permalink to this headline">¶</a></h2>
<table class="two-column table table-bordered">
<colgroup>
<col width="50%" />
<col width="50%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="webservice-client/webservice-client.html"><em>The web service client</em></a></td>
<td><a class="reference internal" href="webservice-client/using-the-service-builder.html"><em>Using a service builder</em></a></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webservice-client/guzzle-service-descriptions.html"><em>Guzzle service descriptions</em></a></td>
<td><a class="reference internal" href="batching/batching.html"><em>Batching</em></a></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="iterators/resource-iterators.html"><em>Resource iterators</em></a></td>
<td><a class="reference internal" href="iterators/guzzle-iterators.html"><em>Guzzle iterators</em></a></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="testing">
<h2>Testing<a class="headerlink" href="#testing" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><a class="reference internal" href="testing/unit-testing.html"><em>Unit Testing Guzzle clients</em></a></li>
</ul>
</div>
</div>


            </div>
          <div class="clearfix"></div>
        </div>
        
    <div class="footer-links">
      <ul class="breadcrumb pull-right">
          <li><a href="getting-started/overview.html" title="next chapter (use the right arrow)">Welcome to Guzzle &rarr;</a></li>
      </ul>
    </div>
  
        <div class="container comment-container">
          
<div id="comments">
  <div id="disqus_thread"></div>
  <script type="text/javascript">
    var disqus_shortname = 'guzzle';
    var disqus_identifier = 'docs';
    (function() {
      var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
      dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
      (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
    })();
  </script>
  <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
  <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>

        </div>
        

    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="getting-started/overview.html" title="Welcome to Guzzle"
             >next</a> |</li>
        <li class="right" >
          <a href="index.html" title="&lt;no title&gt;"
             >previous</a> |</li>
        <li><a href="index.html">Guzzle</a> &raquo;</li> 
      </ul>
    </div>
  <div class="footer container">
    &copy; Copyright 2012, Michael Dowling. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
  </div>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-22752917-1']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    </script>

  
    
      <script type="text/javascript">
        $(document).keydown(function(e){
          if (e.keyCode == 37) {
            
            window.location = 'index.html';
            return false;
            
          } else if (e.keyCode == 39) {
            
            window.location = 'getting-started/overview.html';
            return false;
            
          }
        });
      </script>
    
  
  </body>
</html>
Return current item: Guzzle