Datasnap.DSHTTP.TDSHTTPCacheContextService.ProcessGETRequest
Delphi
procedure ProcessGETRequest(const RequestInfo: TDSHTTPRequest; Response: TDSHTTPResponse; Request: string);
C++
void __fastcall ProcessGETRequest(Datasnap::Dshttpcommon::TDSHTTPRequest* const RequestInfo, Datasnap::Dshttpcommon::TDSHTTPResponse* Response, System::UnicodeString Request);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | TDSHTTPCacheContextService |
Description
Processes the Get command request.
The ProcessGETRequest method uses the given Request string to determine which part of the cache the client is interested in. ProcessGETRequest also populates the result accordingly.
ProcessGETRequest works by interpreting the RequestInfo parameter that gives Request, CacheId, CommandIndex, and ParameterIndex. The Response parameter holds either the word error or the word result, followed by the result itself, which is a TJSONValue.