Datasnap.DSHTTP.TDSDefaultResponseHandler.PopulateContent
Delphi
procedure PopulateContent(ResponseInfo: TDSHTTPResponse; Response: TJSONValue;
ResponseStream: TStream); override;
C++
virtual void __fastcall PopulateContent(Datasnap::Dshttpcommon::TDSHTTPResponse* ResponseInfo, System::Json::TJSONValue* Response, System::Classes::TStream* ResponseStream);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | TDSDefaultResponseHandler |
Description
Populates the content response stream with information.
The PopulateContent method populates the content response stream, given by ResponseStream, with information. The content type of ResponseInfo is also set as application/rest.