TX Text Control .NET Server

WebSocketClosedCallback Function

Function|Introduced in 24.0

Description

Callback function for the webSocketClosed event.

Syntax

function(<WebSocketClosedEventArgs> args)

Examples

The following example demonstrates WebSocketClosedCallback in a practical document-editing workflow. Callback function for the webSocketClosed event.

function webSocketClosedCallback(args) {
    console.log("args:", args);
}