EventBufferEvent::write
(PECL event >= 1.2.6-beta)
EventBufferEvent::write — Adds data to a buffer event's output buffer
說明
public
EventBufferEvent::write(
string
$data
): bool
Adds
data
to a buffer event's output buffer
參數
-
data
-
Data to be added to the underlying buffer.
返回值
成功時返回 true
, 或者在失敗時返回 false
。
參見
- EventBufferEvent::writeBuffer() - Adds contents of the entire buffer to a buffer event's output buffer