Creates the reason.
The close code.
The reason text.
ReadonlycodeThe WebSocket close code (1000 for an own stop).
ReadonlyreasonThe close reason the server sent, or an own reason.
Whether the stop is final: the code is in STOP_ON (the brief's permanent).
Whether an agent reconnects after this code.
Why a gateway (or an adapter) stopped: the close code and its reason text.
Example