NewCookie Data Type
name | data type | constraints | description |
---|---|---|---|
httpOnly | boolean | required | |
expiry | number | ||
comment | string | ||
maxAge | number | required | |
secure | boolean | required | |
Properties inherited from Cookie |
|||
domain | string | ||
name | string | ||
path | string | ||
version | number | required | |
value | string |
Example
{ "httpOnly" : true, "expiry" : 12345, "comment" : "...", "maxAge" : 12345, "secure" : true, "domain" : "...", "name" : "...", "path" : "...", "version" : 12345, "value" : "..." }