(PECL pecl_http >= 0.10.0)
HttpResponse::setThrottleDelay — Set throttle delay
$seconds
)Sets the throttle delay.
Note: 提供基本的節流機制,會放棄當前程序或線程,直至實體已被完全發送。
Note:
下列 SAPI 可能不能正常的工作: FastCGI.
seconds
seconds to sleep after each chunk sent
如果成功則回傳 TRUE
,失敗則回傳 FALSE
。