REST.Client.TCustomRESTClient.OnHTTPProtocolError

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property OnHTTPProtocolError: TCustomRESTClientNotifyEvent  read FOnHTTPProtocolError write FOnHTTPProtocolError;

C++

__property TCustomRESTClientNotifyEvent OnHTTPProtocolError = {read=FOnHTTPProtocolError, write=FOnHTTPProtocolError};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
event public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTClient


Beschreibung

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

Siehe auch