TWebResponse is the base class for all objects that represent HTTP messages sent in response to an HTTP request message.
TWebResponse = class(TObject);
class TWebResponse : public TObject;
Use a descendant of TWebResponse to specify the response to an HTTP request message.
A web application creates a TWebResponse object based on the TWebRequest object for an incoming HTTP request message. The Web dispatcher for the application then passes the TWebResponse object to the TWebActionItem associated with the TWebRequest object, so that the response can be formulated.
TWebResponse has descendants that represent HTTP response messages in different types of web server applications. These descendants are
TApacheResponse objects in Apache server applications.
TCGIResponse objects in CGI server applications.
TISAPIResponse objects in server DLLs (Windows only).
TWinCGIResponse objects in Windows-based CGI servers (Windows only).
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!