laravel-echo-ios
laravel-echo-ios copied to clipboard
Laravel echo Whisper()/listenForWhisper()
I follow the docs that lead me to :"See full Echo documentation for all available methods" So the Echo documentation i want to use the broadcast in room by using Whisper function. I checked and it completely existed in code. But when i try to broadcast by:
guard let channelEmit = channel as? IPrivateChannel else{ return } channelEmit.whisper(eventName: "xxxx", data: [])
Actually packet was emit to the server as the socketio log recorded. So i can make sure this function called and it actually send some data to server. But the problems is their is nothing received in another client(s) when i try to using listening code: _ = channel!.listenForWhisper(event: "xxxx", callback: { (data, ack) in print("received") })
So could you please help me on this problem? This repo support broadcast as Echo documentation describe?