It's my understanding that it is currently not possible to get close codes upon disconnect.
The _Reason variable holds this close code information, it's being ignored here.
These codes would be very useful when consuming 3rd party websockets that define their own event codes in the 3000..4999 range
It's my understanding that it is currently not possible to get close codes upon disconnect.
The
_Reasonvariable holds this close code information, it's being ignored here.These codes would be very useful when consuming 3rd party websockets that define their own event codes in the 3000..4999 range