Midware TAppServer.OnAfterProcessRequest

From Overbyte
Revision as of 08:15, 14 May 2011 by Marie (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.