Skip to content

Commit 77a73b2

Browse files
author
Guy Bedford
authored
docs: add getSetCookie documentation (#930)
1 parent 31ed4b1 commit 77a73b2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
hide_title: false
3+
hide_table_of_contents: false
4+
pagination_next: null
5+
pagination_prev: null
6+
---
7+
# Headers.getSetCookie()
8+
9+
The **`getSetCookie()`** method of the [`Headers`](../../../globals/Headers/Headers.mdx) interface
10+
returns an array of all the values of the `Set-Cookie` headers, returning
11+
an empty list if none are present.
12+
13+
## Syntax
14+
15+
```js
16+
getSetCookie()
17+
```
18+
19+
### Return value
20+
21+
`String[]` representing the list of `Set-Cookie` headers.

0 commit comments

Comments
 (0)