API:REST.Client.TRESTClient.OnHTTPProtocolError

De RAD Studio API Documentation

Delphi

property OnHTTPProtocolError: TCustomRESTClientNotifyEvent read FOnHTTPProtocolError write FOnHTTPProtocolError;

C++

__property OnHTTPProtocolError;

Propriétés

Type Visibilité  Source Unité  Parent
event published
REST.Client.pas
REST.Client.hpp
REST.Client TRESTClient

Description

Se produit lorsque le serveur renvoie un code d'état HTTP supérieur ou égal à 300. {{#multireplace:REST.Client.TRESTClient.OnHTTPProtocolError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} hérite de {{#multireplace:REST.Client.TCustomRESTClient.OnHTTPProtocolError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. Tout le contenu en-dessous de cette ligne se réfère à {{#multireplace:REST.Client.TCustomRESTClient.OnHTTPProtocolError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.


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).

Voir aussi