REST.Client.TRESTClient.OnHTTPProtocolError
Delphi
property OnHTTPProtocolError: TCustomRESTClientNotifyEvent read FOnHTTPProtocolError write FOnHTTPProtocolError;
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. {{#multireplace:REST.Client.TRESTClient.OnHTTPProtocolError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:REST.Client.TCustomRESTClient.OnHTTPProtocolError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:REST.Client.TCustomRESTClient.OnHTTPProtocolError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.