encodeCookieValue

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

Encode cookie value using the specified encoding