codeigniter4-websocket icon indicating copy to clipboard operation
codeigniter4-websocket copied to clipboard

Event callback is not called

Open mohammadaliahmed opened this issue 3 years ago • 1 comments

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

mohammadaliahmed avatar May 28 '22 12:05 mohammadaliahmed

Could you please take a look at this example please?

takielias avatar May 31 '22 17:05 takielias