System.Net.HttpClient.TReceiveDataCallback
Delphi
TReceiveDataCallback = reference to procedure(const Sender: TObject; AContentLength: Int64; AReadCount: Int64; var AAbort: Boolean);
C++
__interface TReceiveDataCallback : public System::IInterface
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
anonMethod class |
public | System.Net.HttpClient.pas System.Net.HTTPClient.hpp |
System.Net.HttpClient | System.Net.HttpClient |
Description
Signature of ReceiveData Callback.
The arguments are:
Argument | Description |
---|---|
|
HTTP request. |
|
A total length in bytes of content to read. |
|
A number of bytes read already. |
|
The application can set it to True to stop reading response. |