RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWebDispatcher.Response Property

Provides access to the TWebResponse object for the message the dispatcher is currently handling.

Pascal
property Response: TWebResponse;
C++
__property TWebResponse Response;

Use Response to obtain information about the emerging response to the current HTTP request message. The dispatcher matches the request object specified by the Request property to an action item. It then invokes the OnAction event handler of the action item to fill in the TWebResponse object specified by the Response property. OnAction event handlers often use descendants of TCustomContentProducer to help generate the response. These content producers can use Response to determine the state of the emerging response that is being produced. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!