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

說明

面向?qū)ο箫L格 (method):

public Stomp::hasFrame(): bool

過程化風格:

stomp_has_frame(resource $link): bool

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

參數(shù)

link

僅對過程化樣式:由 stomp_connect() 返回的 stomp 連接標識符。

返回值

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