HttpResponse::setBufferSize
(PECL pecl_http >= 0.10.0)
HttpResponse::setBufferSize — Set buffer size
Descrizione
static
bool HttpResponse::setBufferSize
( int
$bytes
)Sets the send buffer size of the throttling mechanism.
Nota: Fornisce un semplice meccanismo di regolazione, che gestirà il processo corrente finché l'entità non sarà stata completamente inviata.
Nota:
Questo può non funzionare come ci si aspetta con le seguenti SAPI: FastCGI.
Elenco dei parametri
-
bytes -
the chunk size in bytes
Valori restituiti
Restituisce TRUE in caso di successo, FALSE in caso di fallimento.
Vedere anche:
- HttpResponse::getBufferSize() - Get buffer size
- HttpResponse::getThrottleDelay() - Get throttle delay
- HttpResponse::setThrottleDelay() - Set throttle delay
There are no user contributed notes for this page.
