Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPResponseInfo Class

Implements a HTTP response object.

Pascal
TIdHTTPResponseInfo = class(TIdResponseHeaderInfo);

TIdHTTPResponseInfo is a TIdResponseHeaderInfo descendant that encapsulates access to information in a HTTP response. 

TIdHTTPResponseInfo publishes properties that provide access to various information for a HTTP response. These properties include the persistent HTTP session, the authentication realm, Cookies, raw Header content, as well as the response number, content, content length, and content type. 

TIdHTTPResponseInfo is used by TIdHTTPServer to prepare a HTTP response for a peer thread request. In preparing the HTTP response, values are read from TIdHTTPResponseInfo properties and stored in the RawHeaders property. Values in RawHeaders and ContentText / ContentStream are used to transmit the HTTP response when the server calls WriteHeader or WriteContent.

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.