<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.eventhttp.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'eventhttp.setmaxbodysize.php',
    1 => 'EventHttp::setMaxBodySize',
    2 => 'Sets maximum request body size',
  ),
  'up' => 
  array (
    0 => 'class.eventhttp.php',
    1 => 'EventHttp',
  ),
  'prev' => 
  array (
    0 => 'eventhttp.setdefaultcallback.php',
    1 => 'EventHttp::setDefaultCallback',
  ),
  'next' => 
  array (
    0 => 'eventhttp.setmaxheaderssize.php',
    1 => 'EventHttp::setMaxHeadersSize',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/event/eventhttp/setmaxbodysize.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="eventhttp.setmaxbodysize" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">EventHttp::setMaxBodySize</h1>
  <p class="verinfo">(PECL event &gt;= 1.4.0-beta)</p><p class="refpurpose"><span class="refname">EventHttp::setMaxBodySize</span> &mdash; <span class="dc-title">Sets maximum request body size</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-eventhttp.setmaxbodysize-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="methodname"><strong>EventHttp::setMaxBodySize</strong></span>(<span class="methodparam">
    
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$value</code>
   </span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Sets maximum request body size.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-eventhttp.setmaxbodysize-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt>
     <code class="parameter">value</code>
    </dt>
    <dd>
     <p class="para">
      The body size in bytes.
     </p>
    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-eventhttp.setmaxbodysize-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-eventhttp.setmaxbodysize-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li>
    <span class="methodname"><a href="eventhttp.setmaxheaderssize.php" class="methodname" rel="rdfs-seeAlso">EventHttp::setMaxHeadersSize()</a> - Sets maximum HTTP header size</span>
   </li>
  </ul>
 </div>

</div><?php manual_footer($setup); ?>