MqttSubscription

Defines the fields for an MQTT subscription.

Description

The MqttSubscription class defines the main fields for an MQTT subscription.

Fields

topic

Topic

public topic: string

filter

Filter

public filter: boolean

options

Subscription options

public options: any

listener

Listener

public listener: IMqttMessageListener