Difference between revisions of "Midware TAppServer.OnAfterProcessRequest"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TAppServer -> [[Midware_TAppServer.OnAfterProcessRequest | O…')
 
 
Line 2: Line 2:
  
 
== Definition ==
 
== Definition ==
 +
<syntaxhighlight lang="delphi">
 +
type
 +
TProcessRequestEvent = procedure (Sender    : TObject;
 +
                                  CliWSocket : TClientWSocket;
 +
                                  var CmdBuf : PChar;
 +
                                  var CmdLen : integer) of object;
  
'''property''' OnAfterProcessRequest: '''TProcessRequestEvent''';
+
property OnAfterProcessRequest: TProcessRequestEvent;
 +
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
 +
 +
Occurs when a request has been processed.
  
 
The OnAfterProcessRequest is called when a request has been processed by a TServerObject. It main purpose is to cleanup resources allocated in the OnBeforeProcessRequest event.
 
The OnAfterProcessRequest is called when a request has been processed by a TServerObject. It main purpose is to cleanup resources allocated in the OnBeforeProcessRequest event.

Latest revision as of 08:15, 14 May 2011

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

Definition

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

                                 CliWSocket : TClientWSocket;
                                 var CmdBuf : PChar;
                                 var CmdLen : integer) of object;

property OnAfterProcessRequest: TProcessRequestEvent; </syntaxhighlight>

Description

Occurs when a request has been processed.

The OnAfterProcessRequest is called when a request has been processed by a TServerObject. It main purpose is to cleanup resources allocated in the OnBeforeProcessRequest event.