REST.Client.TRESTRequestParameterList.AddCookie

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

Delphi

function AddCookie(const AName, AValue: string): TRESTRequestParameter;

C++

TRESTRequestParameter* __fastcall AddCookie(const System::UnicodeString AName, const System::UnicodeString AValue);

プロパティ

種類 可視性 ソース ユニット
function public
REST.Client.pas
REST.Client.hpp
REST.Client TRESTRequestParameterList


説明

HTTP REST 要求に新しいクッキーの名前/値ペアを追加します。

AddCookie では、AddItem を呼び出して、指定された名前と値のペアを新しいクッキー パラメータとして HTTP REST 要求クッキーのコレクションに追加します。

  • AName: REST 要求に追加するクッキーの名前です。
  • AValue: REST 要求に追加するクッキーの値です。

関連項目