reason property
A textual explanation of the reason why the WebSocket was closed.
Will be empty if the peer did not specify a reason.
Implementation
final String reason;
A textual explanation of the reason why the WebSocket was closed.
Will be empty if the peer did not specify a reason.
final String reason;