ktor-http / io.ktor.http / withCharset

withCharset

fun ContentType.withCharset(charset: <ERROR CLASS>): ContentType

Creates a copy of this type with the added charset parameter with charset value.