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

Descrição

Estilo orientado a objetos (method):

public Stomp::hasFrame(): bool

Estilo procedural:

stomp_has_frame(resource $link): bool

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

Parâmetros

link

Somente no estilo procedural: O identificador do link stomp retornado por stomp_connect().

Valor Retornado

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