NewCookie Data Type

Properties
name data type constraints description
secure boolean required
maxAge number required
httpOnly boolean required
expiry number  
comment string  
Properties inherited from Cookie
version number required
path string  
value string  
domain string  
name string  

Example

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