(PECL stomp >= 0.1.0)
Stomp::hasFrame -- stomp_has_frame — Indicates whether or not there is a frame ready to read
面向对象风格 (method):
过程化风格:
$link
): boolIndicates whether or not there is a frame ready to read.
Returns true
if a frame is ready to read, or false
otherwise.