Midware TAppServer.OnClientClosed

From Overbyte
Jump to navigation Jump to search

Main page -> Midware component reference -> TAppServer -> OnClientClose

Definition

<syntaxhighlight lang="delphi">

type TClientEvent = procedure (Sender : TObject;

                         CliWSocket : TClientWSocket) of object;

property OnClientClosed : TClientEvent; </syntaxhighlight>

Description

Occurs when a client disconnect from the server.

The event handler could be used to update the server's user interface or to do any other post-processing or cleaning task.