reason property

String reason
final

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;