HttpResponse::setBufferSize

(no version information, might be only in CVS)

HttpResponse::setBufferSize -- Set buffer size

Beskrivelse

staticbool HttpResponse::setBufferSize ( int bytes )

Sets the send buffer size of the throttling mechanism.

Bemærk: Provides a basic throttling mechanism, which will yield the current process respectively thread until the entity has been completely sent.

Bemærk: This may not work as expected with the following SAPI(s): FastCGI.

Parameterliste

bytes

the chunk size in bytes

Returneringsværdier

Returnerer TRUE ved succes, FALSE ved fejl.

Se også

HttpResponse::getBufferSize()
HttpResponse::getThrottleDelay()
HttpResponse::setThrottleDelay()