signalrHandling Connection Lifetimes


Parameters

ParameterDetails
stopCalledThis value tells you how a user disconnected, if its set to true then the user explicitly closed the connection, otherwise they timed out.

Remarks

It's worth noting that at while in these functions you still have access to the Context, therefore you can get the connectionId and identify who/what has disconnected.

Remember, a user can have **more then one connectionId **, so think about how you want to store all the connection IDs for one user