ktor-http / io.ktor.http / ContentType / withParameter

withParameter

fun withParameter(name: String, value: String): ContentType

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