PHP - Manual: swoole_event_write
2024-11-15
(PECL swoole >= 1.9.0)
swoole_event_write — Write data to a socket
$fd
, string $data
): bool
fd
data
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/function.swoole-event-write.php