charset

fun HeaderValueWithParameters.charset(): Charset?

Extracts a Charset value from the given Content-Type, Content-Disposition or similar header value.

fun HttpMessageBuilder.charset(charset: Charset): Unit?

Deprecated: Use content with particular content type and charset instead

fun HttpMessageBuilder.charset(): Charset?
fun HttpMessage.charset(): Charset?

Parse charset from Content-Type header value.