RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SOAPHTTPTrans.TReceivingDataEvent Type

TReceivingDataEvent is the type of the OnReceivingData event of THTTPReqResp.

Pascal
TReceivingDataEvent = procedure (Read: Integer; Total: Integer) of object;
C++
(Read: Integer; Total: Integer) ( TReceivingDataEvent)();

TReceivingDataEvent is the type of the OnReceivingData event handler, which is called after each chunk of data that is received when a large response has been broken into smaller chunks.  

Read indicates the (cumulative) number of bytes that have been received.  

Total indicates the total number of bytes that are expected. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!