REST.Client.TCustomRESTRequest.ContentType

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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 */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTRequest


Beschreibung

Gibt den Typ des Inhalts einer Anforderung auf Basis der angegebenen Parameterliste dieser Anforderung zurück.

Wenn Sie keine Parameterliste angeben, gibt ContentType den Typ des Inhalts einer Anforderung mit Standardparametern zurück.

Siehe auch