The Stomp class

Introduction

(PECL stomp >= 0.1.0)

Represents a connection between PHP and a Stomp compliant Message Broker.

Class synopsis

Stomp {
/* Methods */
public abort ( string $transaction_id [, array $headers ] ) : bool
public ack ( mixed $msg [, array $headers ] ) : bool
public begin ( string $transaction_id [, array $headers ] ) : bool
public commit ( string $transaction_id [, array $headers ] ) : bool
public __construct ([ string $broker = ini_get("stomp.default_broker_uri") [, string $username [, string $password [, array $headers ]]]] )
public __destruct ( ) : bool
public error ( ) : string
public getReadTimeout ( ) : array
public getSessionId ( ) : string|false
public hasFrame ( ) : bool
public readFrame ([ string $class_name = "stompFrame" ] ) : stompframe
public send ( string $destination , mixed $msg [, array $headers ] ) : bool
public setReadTimeout ( int $seconds [, int $microseconds ] ) : void
public subscribe ( string $destination [, array $headers ] ) : bool
public unsubscribe ( string $destination [, array $headers ] ) : bool
}

Table of Contents

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.stomp.php