REST.Client.TCustomRESTClient.OnHTTPProtocolError
Delphi
property OnHTTPProtocolError: TCustomRESTClientNotifyEvent read FOnHTTPProtocolError write FOnHTTPProtocolError;
C++
__property TCustomRESTClientNotifyEvent OnHTTPProtocolError = {read=FOnHTTPProtocolError, write=FOnHTTPProtocolError};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
event | public | REST.Client.pas REST.Client.hpp |
REST.Client | TCustomRESTClient |
説明
HTTP ステータス コード 300 番以上がサーバーから返されたときに発生します。
HTTP 関連でない例外が発生した場合、このイベントは発生しません。 例外リストには次のものが含まれますが、これらに限られるわけではありません。
- タイムアウト例外
- "サーバーが見つかりません" というメッセージが出力される例外