Web.HTTPApp.TCustomWebDispatcher.Request

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Request: TWebRequest read GetRequest;

C++

__property TWebRequest* Request = {read=GetRequest};

Properties

Type Visibility Source Unit Parent
property public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TCustomWebDispatcher

Description

Provides access to the TWebRequest object that the dispatcher is currently handling.

Use Request to obtain information about the current HTTP request message. The dispatcher matches this TWebRequest object to an action item, and invokes the OnAction event handler of the action item to generate and send a response to the HTTP request message. OnAction event handlers often use descendants of TCustomContentProducer to help generate the response to the request message. These content producers can use the Request property to correctly produce the content of the HTTP response.

See Also