System.Net.HttpClientComponent.TRequestErrorEvent
Delphi
TRequestErrorEvent = procedure(const Sender: TObject; const AError: string) of object;
C++
typedef void __fastcall (__closure *TRequestErrorEvent)(System::TObject* const Sender, const System::UnicodeString AError);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | System.Net.HTTPClientComponent.pas System.Net.HTTPClientComponent.hpp |
System.Net.HttpClientComponent | System.Net.HttpClientComponent |
Description
TRequestErrorEvent is an request exception event signature.
To correctly use it consider that:
- Sender is the component TNetHTTPClient or TNetHTTPRequest that invokes the Event.
- AError is the exception generated by the request.