Datasnap.DSHTTP.TDSHTTPServerTransport.OnFormatResult
Delphi
property OnFormatResult: TDSRESTResultEvent read GetResultEvent write SetResultEvent;
C++
__property OnFormatResult;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | TDSHTTPServerTransport |
Description
Event to call when a REST call is having its result built.
Datasnap.DSHTTP.TDSHTTPServerTransport.OnFormatResult inherits from Datasnap.DSHTTP.TCustomDSRESTServerTransport.OnFormatResult. All content below this line refers to Datasnap.DSHTTP.TCustomDSRESTServerTransport.OnFormatResult.
Event to call when a REST call is having its result built.
OnFormatResult is an event to call when a REST call is having its result built. The result can be modified by this event, changing its format or content.