update : 2015.11.03
php.shukuma.com

검색:
 
 
Set buffer size

HttpResponse::setBufferSize

(PECL pecl_http >= 0.10.0)

HttpResponse::setBufferSizeSet buffer size

설명

static bool HttpResponse::setBufferSize ( int $bytes )

Sets the send buffer size of the throttling mechanism.

Note: 엔티티를 완전히 전송할 때까지 현재 프로세스나 쓰레드에 양보하는 간단한 속도제어를 제공합니다.

Note:

다음 SAPI에서는 정상 작동하지 않을 수 있습니다: FastCGI.

인수

bytes

the chunk size in bytes

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.

참고