HttpResponse::setThrottleDelay

(no version information, might be only in CVS)

HttpResponse::setThrottleDelay -- Set throttle delay

Beskrivelse

staticbool HttpResponse::setThrottleDelay ( double seconds )

Sets the throttle delay.

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

seconds

seconds to sleep after each chunk sent

Returneringsværdier

Returnerer TRUE ved succes, FALSE ved fejl.

Se også

HttpResponse::getBufferSize()
HttpResponse::setBufferSize()
HttpResponse::getThrottleDelay()