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

error: expected unqualified-id before ‘(’ token when using emit event #414

Open
hoainam10th123 opened this issue Dec 4, 2023 · 1 comment

Comments

@hoainam10th123
Copy link

when I use:

 _io->socket()->emit("join conversation", data);

If there is an error, use the following method: error: expected unqualified-id before '(' token
I have attached a photo of the error:
socket emit error
I don't understand where I went wrong. please help me.

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