« Swoole\WebSocket\Server::pack
Swoole\WebSocket\Server::unpack »

Swoole\WebSocket\Server::push

(PECL swoole >= 1.9.0)

Swoole\WebSocket\Server::push — Push data to the remote client.

説明

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

パラメータ

fd

data

opcode

finish

戻り値

関連キーワード:
Swoole   WebSocket   Server   Push   remote   client   push   opcode   finish   pack   unpack   swoole
関連する関数・ページ:
class.swoole-websocket-server   swoole-websocket-server.exist   swoole-websocket-server.pack   swoole-websocket-server.unpack   swoole-websocket-server.on   class.swoole-websocket-frame