REST.Client.TCustomRESTRequest.ContentType
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 TRESTRequestParameterArray AParamsArray)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | REST.Client.pas REST.Client.hpp |
REST.Client | TCustomRESTRequest |
説明
指定された要求パラメータ リストに基づいて、要求の内容の種類を返します。
パラメータ リストを指定しない場合、ContentType は、デフォルト パラメータを持つ要求の内容の種類を返します。
メモ: ContentType が列挙型ではなく文字列型になりました。 これにより、任意の ContentType 文字列が使用できるようになりました。