2016-10-14 11:54:04 +00:00
|
|
|
# Cookie Object
|
2016-10-13 03:38:06 +00:00
|
|
|
|
2016-10-14 11:54:04 +00:00
|
|
|
* `name` String - The name of the cookie.
|
|
|
|
* `value` String - The value of the cookie.
|
2016-11-25 12:17:31 +00:00
|
|
|
* `domain` String - (optional) The domain of the cookie.
|
|
|
|
* `hostOnly` Boolean - (optional) Whether the cookie is a host-only cookie.
|
|
|
|
* `path` String - (optional) The path of the cookie.
|
|
|
|
* `secure` Boolean - (optional) Whether the cookie is marked as secure.
|
|
|
|
* `httpOnly` Boolean - (optional) Whether the cookie is marked as HTTP only.
|
|
|
|
* `session` Boolean - (optional) Whether the cookie is a session cookie or a persistent
|
2016-10-14 11:54:04 +00:00
|
|
|
cookie with an expiration date.
|
2016-11-25 12:17:31 +00:00
|
|
|
* `expirationDate` Double - (optional) The expiration date of the cookie as
|
2016-10-14 11:54:04 +00:00
|
|
|
the number of seconds since the UNIX epoch. Not provided for session
|
|
|
|
cookies.
|