property MessageMetadata.headers

Transport headers read from the delivered message. First-party brokers populate this with {} when their transport carried no headers.

Type

Readonly<Record<string, string>>

Usage

import { type MessageMetadata } from "common/src/index.ts";