ktor-http / io.ktor.http / encodeCookieValue

encodeCookieValue

fun encodeCookieValue(value: String, encoding: CookieEncoding): String

Encode cookie value using the specified encoding