Difference between revisions of "Midware TAppServer.OnAfterSendReply"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TAppServer -> [[Midware_TAppServer.OnAfterSendReply | OnAfte…')
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
== Definition ==
 
== Definition ==
 +
<syntaxhighlight lang="delphi">
 +
type
 +
TClientEvent = procedure (Sender      : TObject;
 +
                          CliWSocket  : TClientWSocket) of object;
  
'''property''' OnAfterSendReply: '''TClientEvent''';
+
property OnAfterSendReply : TClientEvent;
 
+
</syntaxhighlight>
 
== Description ==
 
== 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.
 
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.

Latest revision as of 08:21, 14 May 2011

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.