Assign a priority to a bufferevent

# EventBufferEvent::setPriority

(PECL event >= 1.2.6-beta)

EventBufferEvent::setPriority — Assign a priority to a bufferevent

### 说明

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

Assign a priority to a bufferevent

警告

Only supported for socket buffer events

### 参数

`priority`

  Priority value.

### 返回值

成功时返回 `true`， 或者在失败时返回 `false`。

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open