src/SimpleStomp.php
public function unsubscribe($destination, $subscriptionId = null, array $header = [])
    {
        return $this->client->sendFrame(
            $this->getProtocol()->getUnsubscribeFrame($destination, $subscriptionId)->addHeaders($header)
        );
    }
public function unsubscribe($destination, $subscriptionId = null, array $header = [])
    {
        return $this->client->sendFrame(
            $this->getProtocol()->getUnsubscribeFrame($destination, $subscriptionId)->addHeaders($header)
        );
    }
public function unsubscribe ( $ destination , $ subscriptionId = null , array $ header = [ ] ) { return $ this -> client -> sendFrame ( $ this -> getProtocol ( ) -> getUnsubscribeFrame ( $ destination , $ subscriptionId ) -> addHeaders ( $ header ) ) ; }
Remove an existing subscription

@param string $destination
@param string $subscriptionId
@param array $header
@return boolean
@throws StompException
Remove an existing subscription