update : 2015.11.03
php.shukuma.com

검색:
 
 
Set throttle delay

HttpResponse::setThrottleDelay

(PECL pecl_http >= 0.10.0)

HttpResponse::setThrottleDelaySet 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를 반환합니다.

참고