Overview
public any function setMimeType(
required string mimeType
)
Sets the mime type of the response and returns reference to self so that methods can be chained
Arguments
Name | Type | Required | Description |
---|
mimeType | string | Yes | mime type of the response, e.g. 'application/json' |