Change broadcastOn
Kutepov opened this issue · comments
Hi. If I change method broadcastOn
public static function broadcastOn(): array
{
return ['anothervalue'];
}
var socket = io('myhostname:1367/anothervalue');
It does not work
What am I doing wrong? Thanks.
maybe you still not restart the daemon of socketio
try php yii socketio/restart
before test again