Midware TAppSrvClient.OnBeforeProcessReply
Revision as of 09:01, 3 May 2011 by Marie (talk | contribs) (Created page with ' Main page -> Midware component reference -> TAppSrvClient -> [[Midware_TAppSrvClient.OnBeforeProcessR…')
Main page -> Midware component reference -> TAppSrvClient -> OnBeforeProcessReply
Definition
property OnBeforeProcessReply: TProcessReplyEvent;
Description
Occurs when a reply has been received and before it is processed. The event OnBeforeProcessReply is triggered when a reply have been received from the server, just before it is processed for header and body extraction. This event is the right place to decrypt or decompress data sent by the server. The event handler can allocate some resource or memory and change the parameters passed. To free resource and memory, use the OnAfterProcessReply event which will pass the same arguments.
TProcessReplyEvent = procedure (Sender:TObject; var CmdBuf:PChar; var CmdLen:Integer) of object;