2013-03-05 2 views

답변

3

연결이 끊긴 이벤트를 연결할 수 있습니다.

public override Task OnDisconnected() 
{ 
    // The Context.ConnectionId is the identity of the disconnected client 
    return Clients.All.userOffline(/* Something here to identify the user */); 
} 
:

SO 허브에 메소드를 추가

관련 문제