(PECL stomp >= 0.1.0)
Stomp::hasFrame -- stomp_has_frame — Indicates whether or not there is a frame ready to read
Object-oriented style (method):
Procedural style:
$link
Indicates whether or not there is a frame ready to read.
link
Procedural style only: The stomp link identifier returned by stomp_connect().
Returns true if a frame is ready to read, or false otherwise.
true
false