Swoole\Http\Client::push

(PECL swoole >= 1.9.0)

Swoole\Http\Client::pushPush data to websocket client.

说明

public Swoole\Http\Client::push(string $data, string $opcode = ?, string $finish = ?): void

参数

data

opcode

finish

返回值