首页 话题 小组 问答 好文 用户 我的社区 域名交易 唠叨

[函数]Swoole\Server::__construct()函数—用法及示例

发布于 2025-05-10 22:07:55
0
12

适用版本(PECL swoole >= 1.9.0)

Swoole\Server::__construct — 构建一个Swoole服务器。

说明

public Swoole\Server::__construct(
    string $host,
    int $port = ?,
    integr $mode = ?,
    int $sock_type = ?
)

参数
host
port
mode
sock_type
评论
一个月内的热帖推荐
啊龙
Lv.1普通用户

9040

帖子

29

小组

2978

积分

站长交流