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

There are no user contributed notes for this page.
To Top