rawoil
rawoil
it seems not support for namespace, i.e. /uri does not work room support is a server implemention, u should emit sth like 'join' or 'subscribe' event to the socket io...
you should use a client with a socket.io implemention, [socket.io-client](https://github.com/socketio/socket.io-client), as the ws server is compatible with socket.io 2.x by default
> I tried all I can do. > middleware、nginx、your [example](https://github.com/swooletw/laravel-swoole/wiki/9.-Nginx-Configuration) > all failed. > : ( Hi, @ft525 there are several ways to resolve cors problems, you can either use...
Additional, here is a online [socket.io client tool](http://amritb.github.io/socketio-client-tool/v1/) for debugging.
add a `disconnect` event to socket to check if disconnected immediately after connected. Or use [socket.io client tool](http://amritb.github.io/socketio-client-tool/v1/) which is simple and powerful.
confirmed Command cant invoke Websocket, using api for a workround 😂