Topic Path: Symbol Reference > Classes > TIdHTTPProtocol Class > TIdHTTPProtocol Properties > ResponseCode Property
ContentsIndexHome
PreviousUpNext
TIdHTTPProtocol.ResponseCode Property

Indicates the numeric reponse code received in an HTTP response.

property ResponseCode: Integer;

ResponseCode is a read-only Integer property that indicates the numeric reponse code received in an HTTP response. The value in ResponseCode is parsed from the value in ResponseText, and may contain -1 if the textual response did not contain a valid numeric value. 

Values in ResponseCode and ResponseText are used often during processing for an HTTP request in both the HTTP client and the HTTP protocol handler.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.