Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessageData

JSON serializable version of the basic message

Hierarchy

  • MessageData

Index

Properties

Readonly data

data: string

The message's data

Readonly encoding

encoding: encoding

The message encoding

Readonly headers

headers: string[]

Additional message headers

Optional Readonly id

id: undefined | number

The message ID

Readonly stream

stream: string

The message's serialised stream data

Optional Readonly topic

topic: undefined | string

A topic associated with the message

Readonly type

type: types

The message type

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.