Home > Net >  AspNetWebSocket onclose event? How to trigger the OnClose handling?
AspNetWebSocket onclose event? How to trigger the OnClose handling?

Time:02-26

Online code is await inside, while to receive data after the client accidentally dropped, how to deal with? MessageType or there will be a net,

CodePudding user response:

Heart ah, the client didn't heartbeat is hung up, a time control, time no heartbeat is within the scope of the client to hang,

WebSocket native too much trouble, I were SignalR more

CodePudding user response:

Mainly the service side want to know what the customer side line, the heart only know dropped out yourself,
  • Related