RAD Studio VCL Reference
|
Occurs before TMultiModuleWebAppServices passes an HTTP request onto the other components in the application for processing.
property OnBeforeDispatch: THTTPMethodEvent;
__property THTTPMethodEvent OnBeforeDispatch;
Write an OnBeforeDispatch event handler to initialize the response to an HTTP request or to handle any messages that the other components in the WebSnap application can't handle. If the event handler completely handles the request, filling out the response object so that it is ready to send, it should set the Handled parameter to true, thereby preventing this component from trying to locate a component in the WebSnap application that can handle the message.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|