PHP Manual
Function Reference
Other Basic Extensions
Swoole
Swoole\WebSocket\Server
Swoole\WebSocket\Server::exist
Swoole\WebSocket\Server::on
Swoole\WebSocket\Server::pack
Swoole\WebSocket\Server::push
Swoole\WebSocket\Server::unpack
Swoole\WebSocket\Server::pack
Swoole\WebSocket\Server::unpack
Swoole\WebSocket\Server
PHP Manual
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