Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPProtocol.ResponseCode Property

Indicates the numeric reponse code received in an HTTP response.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.