Stomp::hasFrame

stomp_has_frame

(PECL stomp >= 0.1.0)

Stomp::hasFrame -- stomp_has_frameIndicates whether or not there is a frame ready to read

Опис

Об'єктно-орієнтований стиль (method):

public Stomp::hasFrame(): bool

Процедурний стиль:

stomp_has_frame(resource $link): bool

Indicates whether or not there is a frame ready to read.

Параметри

link

Тільки процедурний стиль: Ідентифікатор з'єднання Stomp, якого повертає функція stomp_connect().

Значення, що повертаються

Returns true if a frame is ready to read, or false otherwise.