Datasnap.DSHTTP.TCustomDSRESTServerTransport.SetResultEvent
Delphi
procedure SetResultEvent(const RestEvent: TDSRESTResultEvent);
C++
void __fastcall SetResultEvent(const Datasnap::Dshttpcommon::TDSRESTResultEvent RestEvent);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | protected | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp | Datasnap.DSHTTP | TCustomDSRESTServerTransport | 
Description
Assigns a new Datasnap.DSHTTPCommon.TDSRESTResultEvent.
The SetResultEvent method is used to assign a new REST event to the HTTP server. The REST event is of type Datasnap.DSHTTPCommon.TDSRESTResultEvent.