GoLang Swoole\WebSocket\Server::push

request it (55)
GoLang replacement for PHP's Swoole\WebSocket\Server::push [edit | history]



Do you know a GoLang replacement for PHP's Swoole\WebSocket\Server::push? Write it!

PHP Swoole\WebSocket\Server::push

PHP original manual for Swoole\WebSocket\Server::push [ show | php.net ]

Swoole\WebSocket\Server::push

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

Swoole\WebSocket\Server::pushPush data to the remote client.

Description

public void Swoole\WebSocket\Server::push ( string $fd , string $data [, string $opcode [, string $finish ]] )

Parameters

fd

data

opcode

finish

Return Values