- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/NetEase/pomelo-mqtt-connector
软件介绍
pomelo mqtt connector (pomelo mqtt connector) 基于 MQTT,TCP 和 WS 协议。
使用
var MqttConnector = require('pomelo-mqtt-connector');
// in pomelo app.configure setup mqtt connector configuration
app.configure('all', 'connector', function() {
app.set('connectorConfig', {
connector: MqttConnector,
publishRoute: 'connector.mqttHandler.publish',
subscribeRoute: 'connector.mqttHandler.subscribe',
encode: MqttConnector.encode
});
});选项
@param {Boolean} opts.distinctHost
@param {Boolean} opts.timeout
@param {Boolean} opts.setNoDelay
@param {Boolean} opts.disconnectOnTimeout
@param {String} opts.publishRoute
@param {String} opts.subscribeRoute
@param {String} opts.selfDefinedRoute
The Smashing Book
Jacob Gube、Dmitry Fadeev、Chris Spooner、Darius A Monsef IV、Alessandro Cattaneo、Steven Snell、David Leggett、Andrew Maier、Kayla Knight、Yves Peters、René Schmidt、Smashing Magazine editorial team、Vitaly Friedman、Sven Lennartz / 2009 / $ 29.90 / € 23.90
The Smashing Book is a printed book about best practices in modern Web design. The book shares technical tips and best practices on coding, usability and optimization and explores how to create succes......一起来看看 《The Smashing Book》 这本书的介绍吧!
html转js在线工具
html转js在线工具
RGB CMYK 转换工具
RGB CMYK 互转工具
