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

Is there any support namespace? #252

Open
AlexRas007 opened this issue Nov 24, 2020 · 1 comment
Open

Is there any support namespace? #252

AlexRas007 opened this issue Nov 24, 2020 · 1 comment

Comments

@AlexRas007
Copy link
Contributor

AlexRas007 commented Nov 24, 2020

Client:
var socket = io('http://api.diso.loc:2021/users')

Server:
$io->of('users')->on('connection', static function($socket) { echo 'OK'; });

Not working.

@passwalls
Copy link
Contributor

Try the codes.

$io->of('/users')->on('connection', static function($socket) { echo 'OK'; });

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