Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessageFields

Fields to set on a new Message or a WriteableMessage

Hierarchy

  • MessageFields

Index

Properties

Optional buffer

buffer: Uint8Array

A buffer to write the message contents into

Optional encoding

encoding: encoding

The message encoding

Optional headers

headers: string[]

Additional message headers

Optional id

id: undefined | number

The message ID

Optional topic

topic: undefined | string

A topic associated with the message

Optional type

type: types

The message type

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.