API:Datasnap.DSHTTP.TDSHTTPServiceFileDispatcher.BeforeDispatch
Delphi
property BeforeDispatch: TDispatchFileEvent read FBeforeDispatch write FBeforeDispatch;
C++
__property BeforeDispatch;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | TDSHTTPServiceFileDispatcher |
Description
Event that occurs before the dispatch of a file. {{#multireplace:Datasnap.DSHTTP.TDSHTTPServiceFileDispatcher.BeforeDispatch|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Datasnap.DSHTTP.TDSCustomHTTPServiceFileDispatcher.BeforeDispatch|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Datasnap.DSHTTP.TDSCustomHTTPServiceFileDispatcher.BeforeDispatch|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Event that occurs before the dispatch of a file.
Write an BeforeDispatch event handler to provide additional code to be executed before the dispatch of a file.
Note that TDSHTTPServiceFileDispatcher is used to publish properties for TDSCustomHTTPServiceFileDispatcher.