propertyCloseEvent.reasonreadonly reason: stringReturns the WebSocket connection close reason provided by the server.MDN Reference