Swoole\WebSocket\Server::push

Push data to the remote client.

Description

public void Swoole\WebSocket\Server::push(
    string $fd,
    string $data,
    string $opcode = ?,
    string $finish = ?
)

Parameters

fd

data

opcode

finish

Return Values