contentType

abstract fun contentType(contentType: MediaType): B

Set the content type of the response.

Parameters

contentType

the content type