PHP - Manual: swoole_event_set
2024-12-22
(PECL swoole >= 1.9.0)
swoole_event_set — Update the event callback functions of a socket
$fd
,$read_callback
= ?,$write_callback
= ?,$events
= 0
fd
read_callback
write_callback
events
官方地址:https://www.php.net/manual/en/function.swoole-event-set.php