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

search for in the

HttpResponse::setCache> <HttpResponse::send
[edit] Last updated: Fri, 17 May 2013

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 - [0 notes]
There are no user contributed notes for this page.

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