sclausen / ngx-mqtt

This library isn't just a wrapper around MQTT.js for angular. It uses observables and takes care of subscription handling and message routing.
https://sclausen.github.io/ngx-mqtt/
MIT License
186 stars 82 forks source link

Adding all supported protocols #236

Closed antopio26 closed 1 year ago

antopio26 commented 1 year ago

I need to use 'tcp' protocol my project, I see it is supported by MQTT.js but this type restriction does not let me use it. I modified the type to allow all MQTT.js supported protocols.

sclausen commented 1 year ago

I'm really sorry, but please read the README.md on why you can't use tcp.