contentType

fun contentType(value: String): HttpRequest.Builder

Sets the Content-Type of the HTTP request.

Return

Returns the HttpRequest.Builder instance.

Parameters

value

The value of the Content-Type.