tommy44458 / mqtt-vue-hook

Mqtt-Vue-hook is a TypeScript library that makes it easy to connect to an MQTT broker (supports v5) and manages callback functions for various topics.
https://www.npmjs.com/package/mqtt-vue-hook
MIT License
24 stars 3 forks source link

TLS client config #6

Closed donnie-kerr closed 1 year ago

donnie-kerr commented 1 year ago

Hey @tommy44458 . I'm trying to secure the connection to my Waterstream broker using TLS/SSL. What are the config options I should use with mqttHook? I found this server-side Node example on mqtt.js https://github.com/mqttjs/MQTT.js/blob/main/examples/tls%20client/mqttclient.js I'm sure it will be different in mqtt-vue-hook.

Thanks, Donnie

donnie-kerr commented 1 year ago

nevermind. it isn't required. just wss is.