(PECL stomp >= 0.1.0)
Stomp::hasFrame -- stomp_has_frame — Indicates whether or not there is a frame ready to read
面向对象风格 (method):
过程化风格:
$link
Indicates whether or not there is a frame ready to read.
link
仅对过程化样式:由 stomp_connect() 返回的 stomp 连接标识符。
Returns true if a frame is ready to read, or false otherwise.
true
false