Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event callback is not called #11

Open
mohammadaliahmed opened this issue May 28, 2022 · 1 comment
Open

Event callback is not called #11

mohammadaliahmed opened this issue May 28, 2022 · 1 comment

Comments

@mohammadaliahmed
Copy link

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 mohammadaliahmed changed the title event callback is not called Event callback is not called May 28, 2022
@takielias
Copy link
Owner

Could you please take a look at this example please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants