REST.Client.TCustomRESTRequest.OnHTTPProtocolError
Delphi
property OnHTTPProtocolError: TCustomRESTRequestNotifyEvent read FOnHTTPProtocolError write FOnHTTPProtocolError;
C++
__property TCustomRESTRequestNotifyEvent OnHTTPProtocolError = {read=FOnHTTPProtocolError, write=FOnHTTPProtocolError};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
event | public | REST.Client.pas REST.Client.hpp |
REST.Client | TCustomRESTRequest |
Description
Se produit lorsque le serveur renvoie un code d'état différent de "200 - OK".
Cet événement ne se produit pas si une exception non associée à HTTP se produit. La liste des exceptions inclut notamment les éléments suivants, sans s'y limiter :
- Exceptions Timeout (dépassement de délai)
- Exceptions Server Not Found (serveur introuvable).