REST.Client.TRESTRequest.OnHTTPProtocolError
Delphi
property OnHTTPProtocolError;
C++
__property OnHTTPProtocolError;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTRequest |
Description
Occurs when the server returns a status code other than "200 - OK".
REST.Client.TRESTRequest.OnHTTPProtocolError inherits from REST.Client.TCustomRESTRequest.OnHTTPProtocolError. All content below this line refers to REST.Client.TCustomRESTRequest.OnHTTPProtocolError.
Occurs when the server returns a status code other than "200 - OK".
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.