Skip to main content
Table of Contents

TTMSMCPResourceBuilder.MimeType Method

Sets the media type published as a hint for the content.

API unit family: TMS.MCP.Resources Declaring type: TTMSMCPResourceBuilder

Syntax

TMS.MCP.Resources.hppPascalC++
function MimeType(const AMimeType: string): TTMSMCPResourceBuilder;
TTMSMCPResourceBuilder* __fastcall MimeType(const System::UnicodeString AMimeType);

Parameters

Name Description
AMimeType Media type, for example application/json. May be empty.

Returns

The builder, so calls can be chained.