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

說(shuō)明

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

public Stomp::hasFrame(): bool

過(guò)程化風(fēng)格:

stomp_has_frame(resource $link): bool

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

參數(shù)

link

僅對(duì)過(guò)程化樣式:由 stomp_connect() 返回的 stomp 連接標(biāo)識(shí)符。

返回值

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