HttpResponse::setThrottleDelay
(no version information, might be only in CVS)
HttpResponse::setThrottleDelay -- Set throttle delay
Leírás
staticbool
HttpResponse::setThrottleDelay ( double seconds )
Sets the throttle delay for use with HttpResponse::setBufferSize().
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
- seconds
The seconds to sleep after each chunk sent
Visszatérési értékek
Siker esetén TRUE értékkel tér vissza,
ellenkező esetben FALSE értéket ad.