PHP - Manual: Swoole\WebSocket\Server::push
2024-12-22
(PECL swoole >= 1.9.0)
Swoole\WebSocket\Server::push — Push data to the remote client.
$fd
,$data
,$opcode
= ?,$finish
= ?
fd
data
opcode
finish
官方地址:https://www.php.net/manual/en/swoole-websocket-server.push.php