Midware TAppServer.OnAfterProcessRequest

From Overbyte
Jump to navigation Jump to search

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


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

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

property OnAfterProcessRequest: TProcessRequestEvent; </syntaxhighlight>


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.