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.

Description

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

Parameters

data

opcode

finish

Return Values


Swoole\Http\Client
PHP Manual