REST.Client.TCustomRESTClient.OnHTTPProtocolError
Delphi
property OnHTTPProtocolError: TCustomRESTClientNotifyEvent read FOnHTTPProtocolError write FOnHTTPProtocolError;
C++
__property TCustomRESTClientNotifyEvent OnHTTPProtocolError = {read=FOnHTTPProtocolError, write=FOnHTTPProtocolError};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
event | public | REST.Client.pas REST.Client.hpp |
REST.Client | TCustomRESTClient |
Description
Se produit lorsque le serveur renvoie un code d'état HTTP supérieur ou égal à 300.
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).