Callback function for the webSocketClosed event.
function(<WebSocketClosedEventArgs> args)
Introduced: X14.