Skip to main content
IncomingMessage.prototype.trailersDistinct - http - Node documentation
property IncomingMessage.prototype.trailersDistinct

Usage in Deno

import { IncomingMessage } from "node:http";

Similar to message.trailers, but there is no join logic and the values are always arrays of strings, even for headers received just once. Only populated at the 'end' event.

Type

Dict<string[]>