(PECL event >= 1.2.6-beta)
EventBufferEvent::enable — Enable events read, write, or both on a buffer event
$events
) : bool
Enable events
Event::READ
,
Event::WRITE
, or
Event::READ
|
Event::WRITE
on a buffer event.
events
Event::READ
,
Event::WRITE
, or
Event::READ
|
Event::WRITE
on a buffer event.
成功时返回 true
, 或者在失败时返回 false
。