Datasnap.DSHTTP.TDSDefaultResponseHandler.PopulateContent
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp
| |
Unit: Datasnap.DSHTTP | |
Parent: TDSDefaultResponseHandler |
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);
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.