Difference between revisions of "Midware TAppSrvClient.OnBeforeProcessReply"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TAppSrvClient -> [[Midware_TAppSrvClient.OnBeforeProcessR…')
 
Line 8: Line 8:
  
 
Occurs when a reply has been received and before it is processed.
 
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.
 
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;
 

Revision as of 09:48, 14 May 2011

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.