API:REST.Client.TRESTClient.OnHTTPProtocolError
Delphi
property OnHTTPProtocolError: TCustomRESTClientNotifyEvent read FOnHTTPProtocolError write FOnHTTPProtocolError;
C++
__property OnHTTPProtocolError;
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
| event | published | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTClient |
Beschreibung
Wird ausgelöst, wenn der Server einen HTTP-Statuscode von 300 oder höher zurückgibt. {{#multireplace:REST.Client.TRESTClient.OnHTTPProtocolError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} erbt von {{#multireplace:REST.Client.TCustomRESTClient.OnHTTPProtocolError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. Der folgende Inhalt bezieht sich auf {{#multireplace:REST.Client.TCustomRESTClient.OnHTTPProtocolError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Wird ausgelöst, wenn der Server einen HTTP-Statuscode von 300 oder höher zurückgibt.
Dieses Ereignis wird nicht ausgelöst, wenn eine nicht HTTP-bezogene Exception auftritt. Die Exception-Liste enthält u. a.:
- Zeitüberschreitungs-Exceptions
- "Server nicht gefunden"-Exceptions