2

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.

aceracso
  • 21
  • 1

1 Answers1

1

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.

Community
  • 1
  • 1
Joakim Erdfelt
  • 46,896
  • 7
  • 86
  • 136