Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Socket.IO documentation missing $onConnection requirement #656
Comments
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Information
Description
Looking the documentation, I can see that there is nothing saying that you have to declare the function $onConnection to make your service to work.
If you do not declare the $onConnection function, then when the server starts you will get:
And of course, your socket service won't work.
Example
Acceptance criteria