<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.swoole-server.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'swoole-server.set.php',
    1 => 'Swoole\\Server::set',
    2 => 'Set the runtime settings of the swoole server.',
  ),
  'up' => 
  array (
    0 => 'class.swoole-server.php',
    1 => 'Swoole\\Server',
  ),
  'prev' => 
  array (
    0 => 'swoole-server.sendwait.php',
    1 => 'Swoole\\Server::sendwait',
  ),
  'next' => 
  array (
    0 => 'swoole-server.shutdown.php',
    1 => 'Swoole\\Server::shutdown',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/swoole/swoole/server/set.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="swoole-server.set" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Swoole\Server::set</h1>
  <p class="verinfo">(PECL swoole &gt;= 1.9.0)</p><p class="refpurpose"><span class="refname">Swoole\Server::set</span> &mdash; <span class="dc-title">Set the runtime settings of the swoole server.</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-swoole-server.set-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Swoole\Server::set</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.array.php" class="type array">array</a></span> <code class="parameter">$settings</code></span>): <span class="type">ReturnType</span></div>

  <p class="para rdfs-comment">
    Set the runtime settings of the swoole server. The settings can be accessed by $server-&gt;setting when the swoole server has started.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-swoole-server.set-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt><code class="parameter">settings</code></dt>
    <dd>
     <p class="para">
      
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-swoole-server.set-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   
  </p>
 </div>



</div><?php manual_footer($setup); ?>