<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.event.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'class.eventhttpconnection.php',
    1 => 'EventHttpConnection',
    2 => 'La classe EventHttpConnection',
  ),
  'up' => 
  array (
    0 => 'book.event.php',
    1 => 'Event',
  ),
  'prev' => 
  array (
    0 => 'eventhttp.settimeout.php',
    1 => 'EventHttp::setTimeout',
  ),
  'next' => 
  array (
    0 => 'eventhttpconnection.construct.php',
    1 => 'EventHttpConnection::__construct',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/event/eventhttpconnection.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.eventhttpconnection.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.eventhttpconnection" class="reference">
 <h1 class="title">La classe EventHttpConnection</h1>
 
 <div class="partintro"><p class="verinfo">(PECL event &gt;= 1.4.0-beta)</p>

  <div class="section" id="eventhttpconnection.intro">
   <h2 class="title">Introduction</h2>
   <p class="para">
    Représente une connexion HTTP.
   </p>
  </div>

  <div class="section" id="eventhttpconnection.synopsis">
   <h2 class="title">Synopsis de la classe</h2>


   <div class="classsynopsis">
    <span class="ooclass">
     <strong class="classname"></strong>
    </span>

    <div class="classsynopsisinfo">
     <span class="ooclass">
      <span class="modifier">class</span> <strong class="classname">EventHttpConnection</strong>
     </span>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Méthodes */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="methodname"><a href="eventhttpconnection.construct.php" class="methodname">__construct</a></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam">
    
    <span class="type"><a href="class.eventbase.php" class="type EventBase">EventBase</a></span> <code class="parameter">$base</code>
   </span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam">
    
    <span class="type"><a href="class.eventdnsbase.php" class="type EventDnsBase">EventDnsBase</a></span> <code class="parameter">$dns_base</code>
   </span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam">
    
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$address</code>
   </span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam">
    
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$port</code>
   </span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam">
    
    <span class="type"><a href="class.eventsslcontext.php" class="type EventSslContext">EventSslContext</a></span> <code class="parameter">$ctx</code>
    <span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span>
   </span><br>)</div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span>
   <span class="methodname"><a href="eventhttpconnection.getbase.php" class="methodname">getBase</a></span>(): <span class="type"><a href="class.eventbase.php" class="type EventBase">EventBase</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span>
   <span class="methodname"><a href="eventhttpconnection.getpeer.php" class="methodname">getPeer</a></span>(<span class="methodparam">
    
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter reference">&$address</code>
   </span>, <span class="methodparam">
    
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter reference">&$port</code>
   </span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span>
   <span class="methodname"><a href="eventhttpconnection.makerequest.php" class="methodname">makeRequest</a></span>(<span class="methodparam">
    
    <span class="type"><a href="class.eventhttprequest.php" class="type EventHttpRequest">EventHttpRequest</a></span> <code class="parameter">$req</code>
   </span>, <span class="methodparam">
    
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$type</code>
   </span>, <span class="methodparam">
    
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$uri</code>
   </span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span>
   <span class="methodname"><a href="eventhttpconnection.setclosecallback.php" class="methodname">setCloseCallback</a></span>(<span class="methodparam">
    
    <span class="type"><a href="language.types.callable.php" class="type callable">callable</a></span> <code class="parameter">$callback</code>
   </span>, <span class="methodparam">
    
    <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$data</code>
   <span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span>
   <span class="methodname"><a href="eventhttpconnection.setlocaladdress.php" class="methodname">setLocalAddress</a></span>(<span class="methodparam">
    
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$address</code>
   </span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span>
   <span class="methodname"><a href="eventhttpconnection.setlocalport.php" class="methodname">setLocalPort</a></span>(<span class="methodparam">
    
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$port</code>
   </span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span>
   <span class="methodname"><a href="eventhttpconnection.setmaxbodysize.php" class="methodname">setMaxBodySize</a></span>(<span class="methodparam">
    
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$max_size</code>
   </span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span>
   <span class="methodname"><a href="eventhttpconnection.setmaxheaderssize.php" class="methodname">setMaxHeadersSize</a></span>(<span class="methodparam">
    
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$max_size</code>
   </span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span>
   <span class="methodname"><a href="eventhttpconnection.setretries.php" class="methodname">setRetries</a></span>(<span class="methodparam">
    
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$retries</code>
   </span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span>
   <span class="methodname"><a href="eventhttpconnection.settimeout.php" class="methodname">setTimeout</a></span>(<span class="methodparam">
    
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$timeout</code>
   </span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

   }</div>

  </div>
 </div>

 





















































































<h2>Sommaire</h2><ul class="chunklist chunklist_reference"><li><a href="eventhttpconnection.construct.php">EventHttpConnection::__construct</a> — Construit un objet EventHttpConnection</li><li><a href="eventhttpconnection.getbase.php">EventHttpConnection::getBase</a> — Retourne la base d'&eacute;v&eacute;nement associ&eacute;e avec la connexion</li><li><a href="eventhttpconnection.getpeer.php">EventHttpConnection::getPeer</a> — R&eacute;cup&egrave;re l'adresse et le port distant associ&eacute;s avec la connexion</li><li><a href="eventhttpconnection.makerequest.php">EventHttpConnection::makeRequest</a> — Effectue une requ&ecirc;te HTTP sur la connexion sp&eacute;cifi&eacute;e</li><li><a href="eventhttpconnection.setclosecallback.php">EventHttpConnection::setCloseCallback</a> — D&eacute;finit une fonction de rappel lors de la fermeture de la connexion</li><li><a href="eventhttpconnection.setlocaladdress.php">EventHttpConnection::setLocalAddress</a> — D&eacute;finit l'adresse IP depuis laquelle les connexions HTTP sont effectu&eacute;es</li><li><a href="eventhttpconnection.setlocalport.php">EventHttpConnection::setLocalPort</a> — D&eacute;finit le port local depuis lequel les connexions sont effectu&eacute;es</li><li><a href="eventhttpconnection.setmaxbodysize.php">EventHttpConnection::setMaxBodySize</a> — D&eacute;finit la taille maximale du corps pour la connexion</li><li><a href="eventhttpconnection.setmaxheaderssize.php">EventHttpConnection::setMaxHeadersSize</a> — D&eacute;finit la taille maximale des en-t&ecirc;tes</li><li><a href="eventhttpconnection.setretries.php">EventHttpConnection::setRetries</a> — D&eacute;finit le nombre de tentatives pour la connexion</li><li><a href="eventhttpconnection.settimeout.php">EventHttpConnection::setTimeout</a> — D&eacute;finit le d&eacute;lai d'attente maximal pour la connexion</li></ul>
</div>
<?php manual_footer($setup); ?>