downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HttpResponse::status> <HttpResponse::setStream
Last updated: Fri, 20 Nov 2009

view this page in

HttpResponse::setThrottleDelay

(PECL pecl_http >= 0.10.0)

HttpResponse::setThrottleDelaySet throttle delay

Description

static bool HttpResponse::setThrottleDelay ( float $seconds )

Sets the throttle delay.

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

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

Parameters

seconds

seconds to sleep after each chunk sent

Return Values

Returns TRUE on success or FALSE on failure.

See Also



add a note add a note User Contributed Notes
HttpResponse::setThrottleDelay
There are no user contributed notes for this page.

HttpResponse::status> <HttpResponse::setStream
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites