Datasnap.DSHTTP.TDSHTTPCacheContextService.ProcessGETRequest

提供: RAD Studio API Documentation
移動先: 案内検索

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);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
Datasnap.DSHTTP.pas
Datasnap.DSHTTP.hpp
Datasnap.DSHTTP TDSHTTPCacheContextService

説明

取得(Get)コマンド リクエストを処理します。

ProcessGETRequest メソッドは、与えられた Request 文字列を使用し、キャッシュのどの部分をクライアントが興味を持っているのかを判断します。 ProcessGETRequest はまた、順次結果を設定していきます。

ProcessGETRequest は、RequestInfo パラメータ(ここから RequestCacheIdCommandIndex、および ParameterIndex が提供されます)を解釈することにより処理を行います。Response パラメータは、単語「error」または「result」を保持しており、それに結果そのものが TJSONValue 型で続きます。

関連項目