NewCookie Data Type

Properties
name data type description
version number
domain string
comment string
secure boolean
path string
value string
httpOnly boolean
maxAge number
expiry number
name string

Example

{
  "version" : 12345,
  "domain" : "...",
  "comment" : "...",
  "secure" : true,
  "path" : "...",
  "value" : "...",
  "httpOnly" : true,
  "maxAge" : 12345,
  "expiry" : 12345,
  "name" : "..."
}