link to cookie structure

This commit is contained in:
Zeke Sikelianos 2017-06-08 10:09:40 -07:00
parent dd394b0d5c
commit 6360576d9e

View file

@ -68,13 +68,11 @@ The following methods are available on instances of `Cookies`:
* `session` Boolean (optional) - Filters out session or persistent cookies.
* `callback` Function
* `error` Error
* `cookies` Cookie[]
* `cookies` [Cookie[]](structures/cookie.md) - an array of cookie objects.
Sends a request to get all cookies matching `details`, `callback` will be called
with `callback(error, cookies)` on complete.
`cookies` is an Array of [`cookie`](structures/cookie.md) objects.
#### `cookies.set(details, callback)`
* `details` Object