Hi there, I'm currently initializing a cookie that is supposed to be http only for the security purposes. However, I can't find a way to set the cookie to be http only. Could anyone point me to the right direciton?
let cookie = HTTPCookie(properties: [
.domain: "aaa.bbbb.ccc",
.path: "/",
.name: "token",
.value: "aaa.bbb.ccc",
.version: 1,
.secure: true,
.expires: NSDate(timeIntervalSinceNow: 12345)
])!