0.0.2 • Published 4 years ago

ngx-mqtt-8 v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

ngx-mqtt-8

This library isn't just a wrapper around MQTT.js for angular >= 2. It uses observables and takes care of subscription handling and message routing.

For reasons of convenience, I removed the copied typings from mqtt.js and added it as a dev-dependency while still bundling the browserified latest version of it. This means although you have the possibility to use mqtt, mqtts, tcp, ssl, wx or wxs as the protocol in the client options, you can't, because this is a browser library where you can't conntect with something other than websockets. You also can't use key, cert and ca for the same reasons.

**Forked from sclausen ngx-mqtt and compiled with angular 8.2.4