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

Resubscribing to groups #5

Open
killnine opened this issue Dec 3, 2014 · 1 comment
Open

Resubscribing to groups #5

killnine opened this issue Dec 3, 2014 · 1 comment

Comments

@killnine
Copy link
Owner

killnine commented Dec 3, 2014

Looking for input on what happens after a disconnect (not just connection interruption, but after the DisconnectTimeout period ends and the client disconnects).

According to ASP.NET documentation, all Group subscriptions are lost after a disconnect. Just looking for input on what the best course of action should be on the part of the HubConnectionManager after this happens.

Should it facilitate re-subscribing to those groups after connection is re-established?

Currently, I am doing this manually on the client by subscribing to the StateChanged event and calling a method on the Hub that subscribes again to the appropriate groups.

@dealproc
Copy link

dealproc commented Jun 9, 2015

If there's a way to encapsulate the re-subscription to the groups, then it makes sense to extend the code base for this. After all, the point of this is to "manage" the signalr connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants