Reputation: 32321
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
Please let me know what does the Status 1001 meaning (Going Away) mean exactly
Please let me know , thanks in advance .
Upvotes: 28
Views: 51666
Reputation: 7182
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.
Upvotes: 34