Constructor for the object instance.
constructor Create( AConnection: TIdTCPConnection; AServer: TIdCustomHTTPServer ); reintroduce;
Create is the reintroduced constructor for the TIdHTTPResponseInfo object. Create is responsible for initializing the default values for properties in the instance.
Create calls the inherited Create method.
Create sets ContentLength to the value specified in GFContentLength, and ContentType to the value in GContentType. The RawHeaders property is updated to avoid folding long lines for clients that may not support the feature. ServerSoftware is initialized to the values specified in GServerSoftware.
Create also allocates resources needed for the Cookies property.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.