Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UMFMessage

Creates UMF message objects

const message = new UMFMessage({ to: 'service', from: 'client', body: {} })

Hierarchy

  • UMFMessage

Implements

Index

Constructors

constructor

Properties

Optional authorization

authorization: undefined | string

body

body: object

Optional for

for: undefined | string

Optional forward

forward: undefined | string

from

from: string

Optional headers

headers: UMFHeaders

mid

mid: string

Optional priority

priority: undefined | string

Optional rmid

rmid: undefined | string

Optional signature

signature: undefined | string

Optional timeout

timeout: undefined | number

timestamp

timestamp: string

to

to: string

Optional ttl

ttl: undefined | string

Optional type

type: undefined | string

version

version: "UMF/1.4.6" = "UMF/1.4.6"

Optional via

via: undefined | string

Methods

toShort

toString

  • toString(): string
  • Returns string

    JSON formatted UMF message

Static sign

Static toLong

Generated using TypeDoc