Midware TAppServer.OnBeforeProcessRequest
Revision as of 13:58, 2 May 2011 by Marie (talk | contribs) (Created page with ' Main page -> Midware component reference -> TAppServer -> [[Midware_TAppServer.OnBeforeProcessRequest | …')
Main page -> Midware component reference -> TAppServer -> OnBeforeProcessRequest
Definition
property OnBeforeProcessRequest: TProcessRequest Event;
Description
The OnBeforeProcessRequest event is triggered just before anything is done with a request received from the client. This is the right place to add code for decryption/decompression. If needed, the event handler can allocate memory or resources and change the values on the arguments (passed by var) to fit the requirement. Allocated resources must be freed from the OnAfterProcessCommand.