HttpResponse::setThrottleDelay
(PECL pecl_http >= 0.10.0)
HttpResponse::setThrottleDelay — throttle delay を設定する
説明
static
bool HttpResponse::setThrottleDelay
( float $seconds
)
throttle delay を設定します。
注意: 基本的な抑止機構を提供します。 これにより、現在のプロセスがエンティティを完全に送信できるようになるでしょう。
注意: これは、以下の SAPI では期待通りに動作しないかもしれません。 FastCGI.
パラメータ
- seconds
-
各チャンクが送信された後で処理を待機する秒数。
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。
参考
- HttpResponse::getBufferSize - バッファサイズを取得する
- HttpResponse::setBufferSize - バッファサイズを設定する
- HttpResponse::getThrottleDelay - throttle delay を取得する
HttpResponse::setThrottleDelay
There are no user contributed notes for this page.
