Azure / azure-signalr

Azure SignalR Service SDK for .NET
https://aka.ms/signalr-service
MIT License
427 stars 101 forks source link

Add CloseConnections to ServiceConnection #2083

Closed vicancy closed 1 week ago

vicancy commented 1 week ago

When app server closes, currently it is abruptly exiting the app server, we would like to hook into the application shutdown to close the client connections routed to this app server first. This PR is to add "CloseConnections" ability to the interfaces.