optional cert chains in PEM format
true, set to false to receive QoS 1 and 2 messages while offline
'mqttjs_' + Math.random().toString(16).substr(2, 8)
30 * 1000 milliseconds, time to wait before a CONNACK is received
a any for the incoming packets
10 seconds, set to 0 to disable
optional private keys in PEM format
a any for the outgoing packets
the password required by your broker, if any
'MQTT'
4
1000 milliseconds, interval between two reconnections
true, set to false to disable re-subscribe functionality
the username required by your broker, if any
a message that will sent by the broker automatically when the client disconnect badly.
the message to publish
the QoS
the retain flag
the topic to publish
Generated using TypeDoc
Optionally override the trusted CA certificates in PEM format