NewCookie Data Type

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

Example

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