Closed miaobei5555 closed 3 years ago
websocket没有断开事件 我想在断开事件里处理点事情 但发现 并没有断开事件 只有 WebSocketConnect WebSocketReceive 我试着重写了Disconnect 但还是没有触发websocket的断开事件
是client还是server?
server 啊 创建websocket服务器 客户端断开 事件 我服务器 要处理事情呢
HttpDisconnect事件 HttpToken token = (HttpToken)e.Session.Tag; token有websocket属性判断
websocket没有断开事件 我想在断开事件里处理点事情 但发现 并没有断开事件 只有 WebSocketConnect WebSocketReceive 我试着重写了Disconnect 但还是没有触发websocket的断开事件