Datasnap.DSHTTP.TCustomDSRESTServerTransport.FormatResult
Delphi
property FormatResult: TDSRESTResultEvent read GetResultEvent write SetResultEvent; // Old name
C++
__property Datasnap::Dshttpcommon::TDSRESTResultEvent FormatResult = {read=GetResultEvent, write=SetResultEvent};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | TCustomDSRESTServerTransport |
Description
Event to call when a REST call is having its result built.
FormatResult 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.