Add an optional 3rd argument to the MQTT client constructor of type Int that is a representation of the number of seconds to use as the keep-alive interval. The default remains 15 same as the previous version so no breaking changes.
More information at: #48
Ideally I would have removed the conditional definition related to Arduino as that lib has it's own repo now, however I am unsure if this is acceptable to the maintainer.
Another change I would consider making would be to change the initialize function to use more common overloading techniques to simplify the now redundant setup.
Add an optional 3rd argument to the MQTT client constructor of type Int that is a representation of the number of seconds to use as the keep-alive interval. The default remains 15 same as the previous version so no breaking changes.
More information at: #48
Ideally I would have removed the conditional definition related to Arduino as that lib has it's own repo now, however I am unsure if this is acceptable to the maintainer.
Another change I would consider making would be to change the initialize function to use more common overloading techniques to simplify the now redundant setup.