Warning: file_put_contents(): Only -1 of 71 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
HttpResponse::setStream HttpResponse::status http PHP Manual HttpResponse::setThrottleDelay (PECL pecl_http:0.10.0-1.5.5) — Set throttle delay Descrierea static bool ( float $seconds ) Sets the d...
Forum und email

HttpResponse::setThrottleDelay

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::setThrottleDelay — Set throttle delay

Descrierea

static bool HttpResponse::setThrottleDelay ( float $seconds )

Sets the throttle delay.

Notă: Oferă un mecanism de limitare de bază, care va suspenda procesul sau firul de execuţie curent până când entitatea nu este transmisă deplin.

Notă: Aceasta poate să nu funcţioneze conform aşteptărilor cu următoarele SAPI(uri): FastCGI.

Parametri

seconds

seconds to sleep after each chunk sent

Valorile întroarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eşecului.