Initializes a new instance of the MQTTClient class.
Server host.
Server port.
Connects to the MQTT server.
Sets the callback function that fires when a message is recieved.
Callback fired when a new message is recieved.
Subscribes to the given topic.
MQTT topic.
Generated using TypeDoc
MQTT client