method
__internal.BunHeadersOverride.getAll
name: 'set-cookie' | 'Set-Cookie'
): string[];
Gets all values for the given header name.
Only "Set-Cookie" is supported. Any other header name returns an empty array.
@param name
The header name
@returns
The header's values
const headers = new Headers();
headers.append("Set-Cookie", "foo=bar");
headers.append("Set-Cookie", "baz=qux");
headers.getAll("Set-Cookie"); // ["foo=bar", "baz=qux"]