Web.HTTPApp.TCustomWebFileDispatcher.DispatchRequest
Delphi
function DispatchRequest(Sender: TObject; Request: TWebRequest;
Response: TWebResponse): Boolean;
C++
bool __fastcall DispatchRequest(System::TObject* Sender, TWebRequest* Request, TWebResponse* Response);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Web.HTTPApp.pas Web.HTTPApp.hpp |
Web.HTTPApp | TCustomWebFileDispatcher |
Description
Responds to an incoming message and generates the appropriate file request.
The Web Module calls DispatchRequest when it handles an HTTP messages request.
Sender
is not used in the DispatchRequest method.
Request
contains information about the incoming HTTP message.
Response
is a TWebResponse object that is filled out to indicate the response that should be returned to the Web client.
DispatchRequest returns True if it successfully passes the request on to an invoker and that invoker handles the request and fills out the Response
parameter. DispatchRequest returns False if it could not handle the request.
See Also