Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPResponse.ResponseCode Property

Indicates the numeric response code in an HTTP response.

Pascal
property ResponseCode: Integer;

ResponseCode is an Integer property that represents the numeric HTTP response code received in the HTTP response message. Reading the value in ResponseCode causes the numeric return value to be extracted from the textual value in ResponseText

ResponseCode is updated when a request is executed using TIdHTTP.DoRequest, and when the TIdHTTPProtocol protocol handler processes an HTTP response to to examine state-dependt values during HTTP protocol exchanges.

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.