Swoole\WebSocket\Server::push — 将数据推送到远程客户端。
说明
public Swoole\WebSocket\Server::push(
string $fd,
string $data,
string $opcode = ?,
string $finish = ?
): void
参数
fd
data
opcode
finish
返回值
将数据推送到远程客户端
public Swoole\WebSocket\Server::push(
string $fd,
string $data,
string $opcode = ?,
string $finish = ?
): void