downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HttpResponse::setCache> <HttpResponse::send
[edit] Last updated: Sat, 07 Jan 2012

view this page in

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

참고



add a note add a note User Contributed Notes HttpResponse::setBufferSize
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites