mqtt-connection
mqtt-connection copied to clipboard
Barebone Connection object for MQTT in node.js
If we set incorrect flags / qos, node-mqtt-packet 7.1.1 will emit an error exception and thus fail the tests. This commit fixes those failed tests. Signed-off-by: Ying-Chun Liu (PaulLiu) The...
I don't see any way to set the session present flag in the README, but it's required by the spec. It seems like all options get passed through to `mqtt-packet`,...
index.d.ts ``` import { Duplexify } from 'duplexify'; import { Stream, Duplex } from 'stream' export = Connection; type ConnectionCallback = ()=>void interface ConnectionConstructor { (duplex?: Duplex, opts?: any |...
var net = require('net') Unresolved variable net error when using this
node version: 8.11.0 working on windows 7. The client is successfully subscribed. The broker receives the publish from client A but doesn't forward it to client B `server.on('connection', function (stream)...
Do documents.
please give me a example
I can Sindre pify but since you have seen fit to create a promisified version of mqtt.js can that be done for this repo as well? Blanket promisification of a...