REST.Client.TCustomRESTRequest.OnHTTPProtocolError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnHTTPProtocolError: TCustomRESTRequestNotifyEvent read FOnHTTPProtocolError write FOnHTTPProtocolError;

C++

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

Properties

Type Visibility Source Unit Parent
event public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTRequest

Description

Occurs when the server returns a status code other than "200 - OK".

This event does not occur if a non HTTP-related exception occured. The exceptions list includes, but is not limited to:

  •  Timeout exceptions
  • Server Not Found exceptions.

See Also