Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • MQTTSubjectConfig

Indexable

[key: string]: any

Index

Properties

Optional connectObserver

connectObserver: NextObserver<Event>

An Observer that watches when open events occur on the underlying connection

Optional deserializer

deserializer: undefined | ((message: Buffer) => T)

A deserializer used for messages arriving on the socket from the server. Defaults to JSON.parse.

Optional disconnectObserver

disconnectObserver: NextObserver<CloseEvent | Error>

An Observer than watches when close events occur on the underlying connection

Optional disconnectingObserver

disconnectingObserver: NextObserver<void>

An Observer that watches when a close is about to occur

Optional options

options: MQTTClientOptions

Options to be sent to the mqtt library

Optional serializer

serializer: undefined | ((value: T) => Buffer)

A serializer used to create messages from passed values before the messages are sent to the server. Defaults to JSON.stringify.

url

url: string

The url of the MQTT server to connect to

Legend

  • Constructor
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Private property
  • Private method
  • Property

Generated using TypeDoc