PHP - Manual: event_buffer_write
2024-12-22
(PECL libevent >= 0.0.1)
event_buffer_write — Write data to a buffered event
$bevent
, string $data
[, int $data_size
= -1
] ) : boolWrites data to the specified buffered event. The data is appended to the output buffer and written to the descriptor when it becomes available for writing.
bevent
Valid buffered event resource.
data
The data to be written.
data_size
Optional size parameter. event_buffer_write() writes
all the data
by default.
event_buffer_write() returns TRUE
on success or FALSE
on error.
官方地址:https://www.php.net/manual/en/function.event-buffer-write.php