编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Swoole\Server::defer
  • Swoole\Server\Port::__destruct »
  • PHP Manual
  • Swoole\Server
  • Construct a server port

Swoole\Server\Port::__construct

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Server\Port::__construct — Construct a server port

说明

private Swoole\Server\Port::__construct ( void )

参数

此函数没有参数。

相关文章
php swoole the swoole http server classphp swoole channel construct a swoole channelphp swoole http server bind callback function to http server by event name.php swoole http server start the swoole http server.php swoole server construct a server portphp swoole server destory server portphp swoole server set protocol of the server port.php swoole server add a user defined swoole process to the server.php swoole server trigger a callback function after a period of time.php swoole server bind the connection to a user defined user id.php swoole server stop and destory a timer.php swoole server construct a swoole server.php swoole server listen on the given ip and port socket type.php swoole server register a callback function by event name.php swoole server stop receiving data from the connection.php swoole server set the connection to be protected mode.php swoole server send data to the task worker processes.php swoole server send data to the task worker processes in blocking way.php swoole server execute multiple tasks concurrently.php swoole server repeats a given function at every given time interval.
关注编程学问公众号
编程学问网 湘ICP备20001732号