Skip to main content
CloseEvent.reason - WebSockets - Web documentation
property CloseEvent.reason

Returns the WebSocket connection close reason provided by the server.

Type

string