EventBufferEvent::setPriority

(PECL event >= 1.2.6-beta)

EventBufferEvent::setPriorityAssign a priority to a bufferevent

说锟斤拷

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

Assign a priority to a bufferevent

Warning

Only supported for socket buffer events

锟斤拷锟斤拷

priority

Priority value.

锟斤拷锟斤拷值

Returns TRUE on success. Otherwise FALSE.