Closed stipic closed 5 years ago
Your issue is with the nullable $connection
param. The ClientManipulator
requires you pass a connection to it, but when pushing the connection isn't available.
You'll need to add a check in your secure()
method to deal with a $connection === null
scenario.
@mbabker thank you.
Hi,
im using ZMQ pusher to push some data in my secured topic.
$this->_pusher->push($payload, 'app_topic_chat', ['conversationId' => $this->_conversation->getId()]);
This is my topic handler secure method
And when ZMQ push payload to topic program crash:
Line 55:
if(!$this->clientManipulator->getClient($connection) instanceof \App\Entity\User)
$this->clientManipulator
is instanceof@gos_web_socket.websocket.client_manipulator