PHP - Manual: EventBufferEvent::setPriority
2024-12-21
(PECL event >= 1.2.6-beta)
EventBufferEvent::setPriority — Assign a priority to a bufferevent
$priority
): boolAssign a priority to a bufferevent
Only supported for socket buffer events
priority
Priority value.
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/eventbufferevent.setpriority.php