EventBufferEvent::setPriority

(PECL event >= 1.2.6-beta)

EventBufferEvent::setPriorityAssign a priority to a bufferevent

Description

public EventBufferEvent::setPriority (  int $priority  ) : bool

Assign a priority to a bufferevent

Warning

Only supported for socket buffer events

Parameters

priority

Priority value.

Return Values

Returns true on success. Otherwise false.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventbufferevent.setpriority.php