WebSocket Onclose Status Code 1001 meaning Going Away mean exactly

匿名 (未验证) 提交于 2019-12-03 00:52:01

问题:

I am using Web Sockets in my Application

While onclose event , i am getting the status code as 1001

As per this web site , the status code 1001 means Going Away

WebSockets Status Codes

Please let me know what does the Status 1001 meaning (Going Away) mean exactly

Please let me know , thanks in advance .

回答1:

From RFC 6455:

  1001 indicates that an endpoint is "going away", such as a server   going down or a browser having navigated away from a page. 


标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!