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

警告

Only supported for socket buffer events

參數(shù)

priority

Priority value.

返回值

成功時(shí)返回 true, 或者在失敗時(shí)返回 false。