Datasnap.DSHTTP.TCustomDSRESTServerTransport.OnFormatResult
Delphi
property OnFormatResult: TDSRESTResultEvent read GetResultEvent write SetResultEvent;
C++
__property Datasnap::Dshttpcommon::TDSRESTResultEvent OnFormatResult = {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.
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.