HttpResponse::setBufferSize

(no version information, might be only in CVS)

HttpResponse::setBufferSize -- Set buffer size

Leírás

staticbool HttpResponse::setBufferSize ( int bytes )

Sets the send buffer size for use with HttpResponse::setThrottleDelay().

Provides a basic throttling mechanism, which will yield the current process resp. thread until the entity has been completely sent, though.

Megjegyzés: This doesn't really work with the FastCGI SAPI.

Paraméterek

bytes

the chunk size in bytes

Visszatérési értékek

Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.