Listener signature for event emitted from an MqttClientConnection when the connection reaches an initial connected state
Listener signature for event emitted from an MqttClientConnection when the connection has fully disconnected by user request
Listener signature for event emitted from an MqttClientConnection when an error occurs
Listener signature for event emitted from an MqttClientConnection when the connection has been interrupted unexpectedly.
Listener signature for event emitted from an MqttClientConnection when the connection successfully reestablishes itself after an interruption
Function called upon receipt of a Publish message on a subscribed topic.
Possible types of data to send via publish.
An ArrayBuffer will send its bytes without transformation. An ArrayBufferView (DataView, Uint8Array, etc) will send its bytes without transformation. A String will be sent with utf-8 encoding. An Object will be sent as a JSON string with utf-8 encoding.
Generated using TypeDoc
A module containing support for mqtt connection establishment and operations.