REST.Client.TCustomRESTRequest.ContentType

From RAD Studio API Documentation
Jump to: navigation, search

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

Properties

Type Visibility Source Unit Parent
function public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTRequest

Description

Returns the type of content of a request based on the specified list of parameters of that request.

If you do not specify a list of parameters, ContentType returns the type of content of a request that has the default parameters.

See Also