Put optional label before dash
This commit is contained in:
parent
196cb2dda4
commit
afa3bd2143
10 changed files with 48 additions and 48 deletions
|
@ -79,15 +79,15 @@ with `callback(error, cookies)` on complete.
|
|||
|
||||
* `details` Object
|
||||
* `url` String - The url to associate the cookie with.
|
||||
* `name` String - (optional) The name of the cookie. Empty by default if omitted.
|
||||
* `value` String - (optional) The value of the cookie. Empty by default if omitted.
|
||||
* `domain` String - (optional) The domain of the cookie. Empty by default if omitted.
|
||||
* `path` String - (optional) The path of the cookie. Empty by default if omitted.
|
||||
* `secure` Boolean - (optional) Whether the cookie should be marked as Secure. Defaults to
|
||||
* `name` String (optional) - The name of the cookie. Empty by default if omitted.
|
||||
* `value` String (optional) - The value of the cookie. Empty by default if omitted.
|
||||
* `domain` String (optional) - The domain of the cookie. Empty by default if omitted.
|
||||
* `path` String (optional) - The path of the cookie. Empty by default if omitted.
|
||||
* `secure` Boolean (optional) - Whether the cookie should be marked as Secure. Defaults to
|
||||
false.
|
||||
* `httpOnly` Boolean - (optional) Whether the cookie should be marked as HTTP only.
|
||||
* `httpOnly` Boolean (optional) - Whether the cookie should be marked as HTTP only.
|
||||
Defaults to false.
|
||||
* `expirationDate` Double - (optional) The expiration date of the cookie as the number of
|
||||
* `expirationDate` Double (optional) - The expiration date of the cookie as the number of
|
||||
seconds since the UNIX epoch. If omitted then the cookie becomes a session
|
||||
cookie and will not be retained between sessions.
|
||||
* `callback` Function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue