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

search for in the

HttpResponse::status> <HttpResponse::setStream
[edit] Last updated: Fri, 17 May 2013

view this page in

HttpResponse::setThrottleDelay

(PECL pecl_http >= 0.10.0)

HttpResponse::setThrottleDelaySet throttle delay

Beschreibung

static bool HttpResponse::setThrottleDelay ( float $seconds )

Sets the throttle delay.

Hinweis: Stellt einen einfachen Drosselungsmechanismus zur Verfügung, der den aktuellen Prozess oder Thread stillegt, bis die Daten vollständig gesendet wurden.

Hinweis:

Mit den folgenden SAPIs funktioniert dies evtl. nicht wie erwartet: FastCGI.

Parameter-Liste

seconds

seconds to sleep after each chunk sent

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Siehe auch



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

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