TXTextControl.WebSocketClosedEventArgs Object

The event argument object for the webSocketClosed event.

Introduced: 24.0.

Syntax

{
    code: <number>,
    reason: <String>,
    wasClean: <boolean>
}

Properties

Property Description
code The close code sent by the server.
reason The reason the server closed the connection.
wasClean Indicates whether or not the connection was cleanly closed.

See Also