Detect SignalR Hub Client Disconnect instantly
问题 When is the SignalR Hub OnDisconnected raised on server side, for the the .net client that crash or close without calling the Stop method? I am testing with the SignalR .NET client, not the javascript client. If I call the Stop method on the client, the Hub will raise OnDisconnected method immediately. But if I close the client or kill the process, the Hub will raise OnDisconnected method only after about 10 seconds. How can I detect instantly that the client is disconnected? 回答1: Having read