Php/docs/eventbufferevent.setpriority

提供:Dev Guides
< Php
移動先:案内検索

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


パラメータ

priority
Priority value.


返り値

Returns true on success. Otherwise false.