API:Datasnap.DSHTTP.TDSCacheResponseHandler.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Datasnap.DSHTTP.pas
Datasnap.DSHTTP.hpp
Unit: Datasnap.DSHTTP
Parent: TDSCacheResponseHandler

Delphi

constructor Create(DSService: TDSService; CommandType: TDSHTTPCommandType; ServiceInstanceOwner: Boolean = True);

C++

__fastcall TDSCacheResponseHandler(Datasnap::Dsservice::TDSService* DSService, Datasnap::Dshttpcommon::TDSHTTPCommandType CommandType, bool ServiceInstanceOwner);

Description

Creates a DataSnap service response handler.

Datasnap.DSHTTP.TDSCacheResponseHandler.Create inherits from Datasnap.DSHTTPCommon.TDSJsonResponseHandler.Create. All content below this line refers to Datasnap.DSHTTPCommon.TDSJsonResponseHandler.Create.

Creates a DataSnap service response handler.

The Create constructor creates a DataSnap service response handler and initializes the FDSService and FServiceInstanceOwner protected fields.

See Also