mqtt stuff added
This commit is contained in:
9
node_modules/mqtt/test/helpers/server_process.js
generated
vendored
Normal file
9
node_modules/mqtt/test/helpers/server_process.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
'use strict'
|
||||
|
||||
var Server = require('../server')
|
||||
|
||||
new Server(function (client) {
|
||||
client.on('connect', function () {
|
||||
client.connack({ returnCode: 0 })
|
||||
})
|
||||
}).listen(3000, 'localhost')
|
Reference in New Issue
Block a user