- PHP 手册
- 函数参考
- 其它基本扩展
- Swoole
- Swoole\Server
Swoole\Server::__construct
(PECL swoole >= 1.9.0)
Swoole\Server::__construct — Construct a Swoole server.
说明
public Swoole\Server::__construct(string
$host
,int
$port
= ?,integr
$mode
= ?,int
$sock_type
= ?)
参数
-
host
-
-
port
-
-
mode
-
-
sock_type
-
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/swoole-server.construct.php