charset

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

fun HttpMessageBuilder.charset(
    charset: Charset
): <ERROR CLASS>

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.