Swoole\Http\Client
PHP Manual

Swoole\Http\Client::push

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

说明

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

参数

data

opcode

finish

返回值


Swoole\Http\Client
PHP Manual