TTMSMCPResourceBuilder.MimeType Method
Sets the media type published as a hint for the content.
API unit family: TMS.MCP.Resources
Declaring type: TTMSMCPResourceBuilder
Syntax
function MimeType(const AMimeType: string): TTMSMCPResourceBuilder;
Parameters
| Name | Description |
|---|---|
AMimeType |
Media type, for example application/json. May be empty. |
Returns
The builder, so calls can be chained.