= 1.9.0)簡(jiǎn)介類摘要class Swoole\Event {/* 方法 */public static add( int $fd, callable $read_callback, callable $">
The Swoole\Event class
(PECL swoole >= 1.9.0)
類摘要
class Swoole\Event
{
public static add(
int $fd
,
callable $read_callback
,
callable $write_callback
= ?,
string $events
= ?):
bool
public static del(
string $fd
):
bool
public static exit():
void
public static set(
int $fd
,
string $read_callback
= ?,
string $write_callback
= ?,
string $events
= ?):
bool
public static wait():
void
public static write(
string $fd
,
string $data
):
void
}
目錄