Midware TAppServer.OnAfterSendReply

From Overbyte
Jump to navigation Jump to search

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

Definition

<syntaxhighlight lang="delphi"> type TClientEvent = procedure (Sender : TObject;

                         CliWSocket   : TClientWSocket) of object;

property OnAfterSendReply : TClientEvent; </syntaxhighlight>

Description

Occurs just after a reply has been sent.

The OnAfterSendReply event is called once the reply header and body has ben written to the internal buffer for sending in the background. It's the right place to deallocate any resource allocated in the OnBeforeSendReply.