php8.5
Home/ Manual/ stomp / stomp/ Stomp::hasFrame

Stomp::hasFrame

PHP function Edit on GitHub ✎

(PECL stomp >= 0.1.0)

Indicates whether or not there is a frame ready to read

Description

Oop (method):

Stomp::hasFrame(): bool

Procedural:

stomp_has_frame(resource $link): bool

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

Parameters

Return Values

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

Source: reference/stomp/stomp/hasframe.xml · from the official PHP manual (php/doc-en)