The Swoole\WebSocket\Server class

はじめに

クラス概要

Swoole\WebSocket\Server
class Swoole\WebSocket\Server extends Swoole\Http\Server {
/* メソッド */
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)
/* 継承したメソッド */
public void Swoole\Http\Server::on(string $event_name, callable $callback)
public void Swoole\Http\Server::start()
}
目次