public function _event($datas = null)
{
// Here you can do everyting you want, each time message is received
echo 'Hey ! I\'m an EVENT callback' . PHP_EOL;
}
This event functions is not called in Websocket.php
Please guide me. I need messages in my controller on new message received
public function _event($datas = null) { // Here you can do everyting you want, each time message is received echo 'Hey ! I\'m an EVENT callback' . PHP_EOL; }
This event functions is not called in Websocket.php Please guide me. I need messages in my controller on new message received