Stomp::subscribe

(PECL stomp >= 0.1.0)
Registers to listen to a given destination
public bool Stomp::subscribe ( string $destination [, array $headers ] )

Object oriented style (method):

Procedural style:

bool stomp_subscribe ( resource $link , string $destination [, array $headers ] )

Registers to listen to a given destination.

Parameters:
link

Procedural style only: The stomp link identifier returned by stomp_connect().

destination

Destination to subscribe to.

headers

Associative array containing the additional headers (example: receipt).

Returns:

Returns TRUE on success or FALSE on failure.

doc_php
2016-02-24 16:10:13
Comments
Leave a Comment

Please login to continue.