signalr Handling Connection Lifetimes

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

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



Got any signalr Question?