(PECL pecl_http >= 0.10.0)
HttpResponse::setBufferSize — Set buffer size
$bytes
)Sets the send buffer size of the throttling mechanism.
Note: 提供基本的節流機制,會放棄當前程序或線程,直至實體已被完全發送。
Note:
下列 SAPI 可能不能正常的工作: FastCGI.
bytes
the chunk size in bytes
如果成功則回傳 TRUE
,失敗則回傳 FALSE
。