array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'eventhttpconnection.setmaxbodysize.php', 1 => 'EventHttpConnection::setMaxBodySize', 2 => 'Sets maximum body size for the connection', ), 'up' => array ( 0 => 'class.eventhttpconnection.php', 1 => 'EventHttpConnection', ), 'prev' => array ( 0 => 'eventhttpconnection.setlocalport.php', 1 => 'EventHttpConnection::setLocalPort', ), 'next' => array ( 0 => 'eventhttpconnection.setmaxheaderssize.php', 1 => 'EventHttpConnection::setMaxHeadersSize', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventhttpconnection/setmaxbodysize.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EventHttpConnection::setMaxBodySize

(PECL event >= 1.2.6-beta)

EventHttpConnection::setMaxBodySizeSets maximum body size for the connection

Beschreibung

public EventHttpConnection::setMaxBodySize( string $max_size ): void

Sets maximum body size for the connection.

Parameter-Liste

max_size

The maximum body size in bytes.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Siehe auch