Soap.SOAPHTTPTrans.TReceivingDataEvent

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

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

C++

typedef void __fastcall (__closure *TReceivingDataEvent)(int Read, int Total);

Propriétés

Type Visibilité  Source Unité  Parent
type
typedef
public
Soap.SOAPHTTPTrans.pas
Soap.SOAPHTTPTrans.hpp
Soap.SOAPHTTPTrans Soap.SOAPHTTPTrans

Description

TReceivingDataEvent est le type de l'événement OnReceivingData de THTTPReqResp.

TReceivingDataEvent est le type du gestionnaire d'événement OnReceivingData, appelé après chaque réception de bloc de données lorsqu'une réponse volumineuse a été subdivisée en différents blocs.

Read indique le nombre (cumulé) d'octets reçus.

Total indique le nombre total d'octets attendus.