Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines event data format for raw events.

Hierarchy

  • TopicEventData
    • RawEventData

Index

Constructors

Properties

Methods

Constructors

constructor

  • new RawEventData(payload: string | Uint8Array): RawEventData
  • Create an instance of RawEventData.

    Parameters

    • payload: string | Uint8Array

      a payload string or Uint8Array (or Buffer in Node.js, a subclass thereof)

    Returns RawEventData

Properties

payload

payload: string | Uint8Array

Raw data string or Uint8Array (or Buffer in Node.js, a subclass thereof).

For inbound events raw data is always of type Uint8Array (or Buffer in Node.js, a subclass thereof). For publication events, data may also be a string.

Methods

toJsonObject

  • toJsonObject(): any

Static createFrom

Generated using TypeDoc