Assign a priority to a bufferevent

# EventBufferEvent::setPriority

(PECL event >= 1.2.6-beta)

EventBufferEvent::setPriority — Assign 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 or `false` on failure.

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