编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Swoole\Server\Port::on
  • Swoole\Server::exist »
  • PHP Manual
  • Swoole\Server
  • Set protocol of the server port.

Swoole\Server\Port::set

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

Swoole\Server\Port::set — Set protocol of the server port.

说明

public Swoole\Server\Port::set ( array $settings ) : void

参数

settings

返回值

相关文章
php swoole the swoole redis server classphp swoole the swoole server classphp memcached set a new expiration on an item on a specific serverphp swoole atomic set a new value to the atomic object.php swoole client connect to the remote tcp or udp port.php swoole client set the swoole client parameters before the connection is established.php swoole http response set the cookies of the http response.php swoole redis server descriptionphp swoole redis server descriptionphp swoole redis server descriptionphp swoole server construct a server portphp swoole server destory server portphp swoole server set protocol of the server port.php swoole server get the connection info by file description.php swoole server get all of the established connections.php swoole server listen on the given ip and port socket type.php swoole server set the connection to be protected mode.php swoole server send data to the client.php swoole server send file to the connection.php swoole server set the runtime settings of the swoole server.
关注编程学问公众号
编程学问网 湘ICP备20001732号