HttpResponse::setThrottleDelay
(PECL pecl_http:0.10.0-1.5.5)
HttpResponse::setThrottleDelay — Set throttle delay
설명
static
bool HttpResponse::setThrottleDelay
( float $seconds
)
Sets the throttle delay.
Note: 엔티티를 완전히 전송할 때까지 현재 프로세스의 각 쓰레드에 양보하는 간단한 속도제어를 제공합니다.
Note: 다음 SAPI에서는 정상 작동하지 않을 수 있습니다: FastCGI.
매개변수
- seconds
-
seconds to sleep after each chunk sent
반환값
성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.