set

fun set(key: String, value: String, expires: Duration? = null, path: String? = null, domain: String? = null)
fun set(key: String, value: Int, expires: Duration? = null, path: String? = null, domain: String? = null)
fun set(key: String, value: Float, expires: Duration? = null, path: String? = null, domain: String? = null)
fun set(key: String, value: Double, expires: Duration? = null, path: String? = null, domain: String? = null)
fun set(key: String, value: Short, expires: Duration? = null, path: String? = null, domain: String? = null)
fun set(key: String, value: Long, expires: Duration? = null, path: String? = null, domain: String? = null)
fun set(key: String, value: Boolean, expires: Duration? = null, path: String? = null, domain: String? = null)
fun set(key: String, value: Char, expires: Duration? = null, path: String? = null, domain: String? = null)
fun set(key: String, value: Byte, expires: Duration? = null, path: String? = null, domain: String? = null)
fun set(key: String, value: JsonElement, expires: Duration? = null, path: String? = null, domain: String? = null)