Peter Yang

Results 3 comments of Peter Yang

上面代码是发送时更新最后活跃时间,这个我知道。但我现在问题是,我自己写了一个SessionManager,自己根据心跳来判断是否超时,然后手动调用session.Connection.CloseAsync(CloseReason.TimeOut),或是session.CloseAsync(),连接没有关闭掉,一直存在。