Disconnect Method
Disconnects from the remote host.
Object Oriented Interface
public function doDisconnect();
Procedural Interface
ipworksmq_mqtt_do_disconnect($res);
Remarks
This method disconnects from the remote host. Calling this method is equivalent to setting the Connected property to False.
Refer to the Connected property for more information about MQTT-specific behavior.