NewCookie Data Type

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

Example

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