feat: add httpOnly
cookies.get
filter (#37255)
feat: add httpOnly cookies filter
This commit is contained in:
parent
85cf56d80b
commit
868676aa5c
3 changed files with 37 additions and 0 deletions
|
@ -78,6 +78,7 @@ The following methods are available on instances of `Cookies`:
|
|||
* `path` string (optional) - Retrieves cookies whose path matches `path`.
|
||||
* `secure` boolean (optional) - Filters cookies by their Secure property.
|
||||
* `session` boolean (optional) - Filters out session or persistent cookies.
|
||||
* `httpOnly` boolean (optional) - Filters cookies by httpOnly.
|
||||
|
||||
Returns `Promise<Cookie[]>` - A promise which resolves an array of cookie objects.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue