(PECL stomp >= 0.1.0)
Removes an existing subscription
public bool Stomp::unsubscribe ( string $destination [, array $headers ] )
Object oriented style (method):
Procedural style:
bool stomp_unsubscribe ( resource
$link
, string $destination
[, array $headers
] )Removes an existing subscription.
Parameters:
link
Procedural style only: The stomp link identifier returned by stomp_connect().
destination
Subscription to remove.
headers
Associative array containing the additional headers (example: receipt).
Returns:
Returns TRUE
on success or FALSE
on failure.
Please login to continue.