REST.Client.TCustomRESTRequest.OnHTTPProtocolError

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property OnHTTPProtocolError: TCustomRESTRequestNotifyEvent read FOnHTTPProtocolError write FOnHTTPProtocolError;

C++

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

Eigenschaften

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


Beschreibung

Wird ausgelöst, wenn der Server einen anderen Statuscode als "200 - OK" 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