System.Net.HttpClientComponent.TRequestCompletedEvent
Delphi
TRequestCompletedEvent = procedure(const Sender: TObject; const AResponse: IHTTPResponse) of object;
C++
typedef void __fastcall (__closure *TRequestCompletedEvent)(System::TObject* const Sender, const System::Net::Httpclient::_di_IHTTPResponse AResponse);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | System.Net.HTTPClientComponent.pas System.Net.HTTPClientComponent.hpp |
System.Net.HttpClientComponent | System.Net.HttpClientComponent |
Description
TRequestCompletedEventRequest is a completion event signature.
To correctly use it consider that:
- Sender is the component TNetHTTPClient or TNetHTTPRequest that invokes the Event.
- AResponse is the response generated by the request.