API:REST.Client.TRESTClient.OnHTTPProtocolError
Delphi
property OnHTTPProtocolError;
C++
__property OnHTTPProtocolError;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTClient |
Description
Occurs when the server returns an HTTP status code 300 or higher.
REST.Client.TRESTClient.OnHTTPProtocolError inherits from REST.Client.TCustomRESTClient.OnHTTPProtocolError. All content below this line refers to REST.Client.TCustomRESTClient.OnHTTPProtocolError.
Occurs when the server returns an HTTP status code 300 or higher.
This event does not occur if a non HTTP-related exception occured. The exceptions list includes, but is not limited to:
- Timeout exceptions
- Server Not Found exceptions.