We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ed4b1 commit 77a73b2Copy full SHA for 77a73b2
documentation/docs/globals/Headers/prototype/getSetCookie.mdx
@@ -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