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