-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Unsubscribe from single subsocket? #262
Comments
You can call |
Thanks Ronny. Is that method described anywhere in the docs? I don't see it but maybe I'm looking in the wrong place. |
To be honest, I am not sure. I was debugging an issue in our code where two sockets are used on the same page and discovered that call inside of the JS file. It seems to work and is public, so I hope its an official API... |
Yes it is. The documentation needs to be updated....unfortunately I don't have time those days, but if you have the cycle, I can review and merge :-) |
In the docs, the
unsubscribe
method is a top level function that, as far as I can tell, closes all known connections to all servers at once. I don't see any method onAtmosphereRequest
("subsocket" in the example) that would allow me to stop the subscription for a single topic. Is this not possible?The text was updated successfully, but these errors were encountered: