Interface: IMqttStatus
Status message for MQTT Clients.
Table of contents
Properties
Properties
type
• type: "connect"
| "disconnect"
| "error"
| "subscription-add"
| "subscription-remove"
The type of message.
message
• message: string
Additional information about the status.
state
• state: "disconnected"
| "connected"
| "disconnecting"
| "connecting"
The connection status.
error
• Optional
error: unknown
Any errors.