mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-03-03 19:47:13 +08:00
0.0.1
This commit is contained in:
98
docs/php/swoole_event_set.html
Normal file
98
docs/php/swoole_event_set.html
Normal file
@@ -0,0 +1,98 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>Update the event callback functions of a socket</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.swoole-event-set" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">swoole_event_set</h1>
|
||||
<p class="verinfo">(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)</p><p class="refpurpose"><span class="refname">swoole_event_set</span> — <span class="dc-title">Update the event callback functions of a socket</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.swoole-event-set-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>swoole_event_set</strong></span>
|
||||
( <span class="methodparam"><span class="type">int</span> <code class="parameter">$fd</code></span>
|
||||
[, <span class="methodparam"><span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span> <code class="parameter">$read_callback</code></span>
|
||||
[, <span class="methodparam"><span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span> <code class="parameter">$write_callback</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$events</code><span class="initializer"> = 0</span></span>
|
||||
]]] ) : <span class="type">bool</span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.swoole-event-set-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">fd</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">read_callback</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">write_callback</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">events</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.swoole-event-set-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div></div></div></body></html>
|
||||
Reference in New Issue
Block a user