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
[edit] Last updated: Fri, 23 Mar 2012

view this page in

HttpResponse::setThrottleDelay

(PECL pecl_http >= 0.10.0)

HttpResponse::setThrottleDelaySet throttle delay

Opis

static bool HttpResponse::setThrottleDelay ( float $seconds )

Sets the throttle delay.

Informacja: Zapewnia podstawowy mechanizm dławiący, który będzie podtrzymywać bieżący proces lub wątek, dopóki nie zostanie wysłana całość.

Informacja:

To może nie działać jak się spodziewasz z następującymi SAPI: FastCGI.

Parametry

seconds

seconds to sleep after each chunk sent

Zwracane wartości

Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.

Zobacz też:



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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites