-
Notifications
You must be signed in to change notification settings - Fork 261
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
Not catching all events from server #32
Comments
i think this is a bug, so i add init client it. init client --> On() --> dial 。
|
Thank you for the suggestion! I actually had it configured properly, the problem was the server I was connecting to required further authentication to allow me to get the other events. |
I created a fork of that, you can use it. The code were heavily refactored. Pull requests appreciated, i don't have much time for implementing new features but i will review and participate. |
Hello,
I am connection to a server like so:
m.client, err = gosocketio.Dial(gosocketio.GetUrl(m.hostname, 9000, false), transport.GetDefaultWebsocketTransport())
m.client.On(<event-name>, m.updates)
m.client.On(<another-event>, m.updates)
And I am able to connecto to the sockat and receive one event, the first one, but for some reason I am not catching any other events. What am I missing??
The text was updated successfully, but these errors were encountered: