CloseEvent
Overview
A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
- Ancestry: Event | CloseEvent
Properties
code
property code: UInt16 read;
UInt16 code { get; }
var code: UInt16 { get{} }
UInt16 code { __get; }
ReadOnly Property code() As UInt16
reason
property reason: String read;
String reason { get; }
var reason: String { get{} }
String reason { __get; }
ReadOnly Property reason() As String
wasClean
property wasClean: Boolean read;
Boolean wasClean { get; }
var wasClean: Boolean { get{} }
Boolean wasClean { __get; }
ReadOnly Property wasClean() As Boolean