Swoole\Server::__construct — 构建一个Swoole服务器。
说明
public Swoole\Server::__construct(
string $host,
int $port = ?,
integr $mode = ?,
int $sock_type = ?
)
参数
host
port
mode
sock_type
「 构建一个Swoole服务器 」
public Swoole\Server::__construct(
string $host,
int $port = ?,
integr $mode = ?,
int $sock_type = ?
)
检查给定的文件指针是否关联到一个终端设备(即是否为交互式终端)
计算配对样本的双样本 T 检验
监听文件描述符的读写事件
检查一个对象是否属于指定的类或其子类
将给定的时间戳转换为 VARIANT 类型的日期时间值
检查变量是否已设置并且非 NULL
在异步事件循环中创建子进程
向一个 FDF 文档添加 JavaScript 代码
获取Swoole服务器的统计信息。
检索 APCu共享内存分配信息
向客户端发送HTTP回复的一部分数据
禁用事件监听器