REST.Client.TCustomRESTRequest.ContentType

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

Delphi

function ContentType: TRESTContentType; overload;
function ContentType(const AParamsArray: TRESTRequestParameterArray): TRESTContentType; overload;

C++

Rest::Types::TRESTContentType __fastcall ContentType()/* overload */;
Rest::Types::TRESTContentType __fastcall ContentType(const System::DynamicArray<TRESTRequestParameter*> AParamsArray)/* overload */;

プロパティ

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


説明

指定された要求パラメータ リストに基づいて、要求の内容の種類を返します。

パラメータ リストを指定しない場合、ContentType は、デフォルト パラメータを持つ要求の内容の種類を返します。

メモ: ContentType が列挙型ではなく文字列型になりました。 これにより、任意の ContentType 文字列が使用できるようになりました。

関連項目