OutgoingMessage.prototype.getHeaderNames - Node documentation
method OutgoingMessage.prototype.getHeaderNames

Usage in Deno

import { OutgoingMessage } from "node:http";
OutgoingMessage.prototype.getHeaderNames(): string[]

Returns an array containing the unique names of the current outgoing headers. All names are lowercase.

Return Type

string[]