Swoole\WebSocket\Server::push
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Push data to the remote client.
Description
Swoole\WebSocket\Server::push(string $fd, string $data, [string $opcode], [string $finish]): void
Parameters
fddataopcodefinish