php8.5
Home/ Manual/ event / eventhttpconnection/ EventHttpConnection::setMaxBodySize

EventHttpConnection::setMaxBodySize

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Sets maximum body size for the connection

Description

EventHttpConnection::setMaxBodySize(string $max_size): void

Sets maximum body size for the connection.

Parameters

max_size

The maximum body size in bytes.

Return Values

Void

See Also

  • EventHttpConnection::setMaxHeadersSize

Source: reference/event/eventhttpconnection/setmaxbodysize.xml · from the official PHP manual (php/doc-en)