Reputation: 21
Anyone know if there is a way produce the close code 1006 in websockets consistently. I´m trying to reproduce this scenario in a javascript client.
Upvotes: 2
Views: 214
Reputation: 49452
Error code 1006 is special in the WebSocket spec.
Read prior answer on close code 1006 in browsers.
That might help you understand what you are up against.
Upvotes: 1