我正在为其中一个应用程序设计推送技术,因为MQTT是轻量级的,并且需要比其他技术更少的电池电量。 我选择它,它适用于Android设备。
但是,我还有一个要求,即应用程序还包含Web门户,并且服务器还需要向浏览器发送MQTT消息。 为了做到这一点,有必要配置Mosquitto for websocket。
提前致谢。
I am figuring push technology for one of the application, as MQTT is lighweight and required less battery power than the other technology. I choose it and it works well with Android Device.
But, i also have one requirement that application also contains Web portal, and server also needs to send MQTT message to browser. In order to do that, it is necessary to configure Mosquitto for websocket.
Thanks in Advance.
最满意答案
猜猜你在这里问的是什么......
Mosqutto将在1.4版本中添加websocket支持。 此时(04/01/2015)1.4尚未发布,但您可以从源代码构建它。
您可以在此处找到有助于构建正确级别的说明。
https://goochgooch.wordpress.com/2014/08/01/building-mosquitto-1-4/
Making a guess at what your actually asking here...
Mosqutto will add websocket support in release 1.4. At this time (04/01/2015) 1.4 has not been released, but you can build it from source.
You can find instructions to help build the correct level here.
https://goochgooch.wordpress.com/2014/08/01/building-mosquitto-1-4/
更多推荐
发布评论