method Http2ServerResponse.prototype.appendHeader
Usage in Deno
```typescript import { Http2ServerResponse } from "node:node__http2.d.ts"; ```
Http2ServerResponse.prototype.appendHeader(name: string,value: string | string[],): void
Append a single header value to the header object.
If the value is an array, this is equivalent to calling this method multiple times.
If there were no previous values for the header, this is equivalent to calling setHeader.
Attempting to set a header field name or value that contains invalid characters will result in a
[TypeError](https://nodejs.org/docs/latest-v22.x/api/errors.html#class-typeerror) being thrown.
```js
// Returns headers including "set-cookie: a" and "set-cookie: b"
const server = http2.createServer((req, res) => {
res.setHeader('set-cookie', 'a');
res.appendHeader('set-cookie', 'b');
res.writeHead(200);
res.end('ok');
});
```
void