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 Swoole\Http\Client::push ( string $data [, string $opcode [, string $finish ]] ) : void

Parameters

data

opcode

finish

Return Values