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

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

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

适用版本(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普通用户

9545

帖子

31

小组

3242

积分

赞助商广告
站长交流