|
The Swoole\WebSocket\Server classIntroduction
Class synopsisSwoole\WebSocket\Server
class Swoole\WebSocket\Server
extends
Swoole\Http\Server
{
/* Methods */
public bool exist(int
$fd )public ReturnType on(string
$event_name , callable $callback )public static binary pack(
string $data ,string $opcode = ?,string $finish = ?,string $mask = ?) public void push(
string $fd ,string $data ,string $opcode = ?,string $finish = ?) public static string unpack(binary
$data )/* Inherited methods */
public void Swoole\Http\Server::on(string
$event_name , callable $callback )public void Swoole\Http\Server::start()
}
|