Alex Rivera | Logout

WebSocket Onclose Status Code 1001 meaning Going Away mean exactly

Asked 2013-04-19T13:08:17.653
29

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 .

Edit
Report

1 Answer

34

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.
answered 2013-04-19T13:22:04.230

Your Answer