The Wayback Machine - https://web.archive.org/web/20220128081045/https://github.com/dotnet/aspnetcore/issues/39770
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

SignalR : Want to send signal to client when it reconnects to server #39770

Closed
1 task done
nagtilaklaxman opened this issue Jan 26, 2022 · 2 comments
Closed
1 task done

SignalR : Want to send signal to client when it reconnects to server #39770

nagtilaklaxman opened this issue Jan 26, 2022 · 2 comments

Comments

@nagtilaklaxman
Copy link

@nagtilaklaxman nagtilaklaxman commented Jan 26, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

SignalR
I want to send signal to client when it reconnects. I am not able to find any overload to detect that client is reconnected

Describe the solution you'd like

can you provide method as OnReconnection in hub to override?

Additional context

No response

@nagtilaklaxman nagtilaklaxman changed the title Want to send signal to client when it reconnects to server SignalR : Want to send signal to client when it reconnects to server Jan 26, 2022
@BrennanConroy
Copy link
Member

@BrennanConroy BrennanConroy commented Jan 26, 2022

ASP.NET Core SignalR does not have stateful reconnects. What this means is that when you reconnect you are a completely new connection with a new connection ID and the server will not store information about your previous connection ID for you. So, an OnReconnection method does not make sense for us to add to the Hub.

@msftbot
Copy link
Contributor

@msftbot msftbot bot commented Jan 27, 2022

This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes.

See our Issue Management Policies for more information.

@msftbot msftbot bot closed this Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants