HttpResponse::setBufferSize
(PECL pecl_http:0.10.0-1.5.5)
HttpResponse::setBufferSize — Set 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를 반환합니다.