System.Net.HttpClient.TReceiveDataCallback

From RAD Studio API Documentation
Jump to: navigation, search

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

Sender

HTTP request.

AContentLength

A total length in bytes of content to read.

AReadCount

A number of bytes read already.

AAbort

The application can set it to True to stop reading response.