REST.Client.TCustomRESTClient.OnHTTPProtocolError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnHTTPProtocolError: TCustomRESTClientNotifyEvent

C++

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

Properties

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

Description

Occurs when the server returns an HTTP status code 300 or higher.

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