Websocket: Closing browser triggers onError() in chrome but onClose() event in Firefox

后端 未结 0 1723
[愿得一人]
[愿得一人] 2020-12-19 16:33

When you close your browser while you have an active websocket connection, the following behavior seems to depend on the browser:

  • Firefox: Triggers onClose().<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题