phpday 2027 - Call for Papers

Swoole\WebSocket\Server::push

(PECL swoole >= 1.9.0)

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

Description

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

Parameters

fd

data

opcode

finish

Return Values

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top